Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 107198

A resilient sensor summing other sensors

$
0
0

Hi folks
I have a sensor summing other sensors

    storage_heater_power_phase1:
      unique_id: b3dfeb09-73f5-42d7-b92f-3fc977bb4dd6
      friendly_name: "Storage heaters phase1"
      unit_of_measurement: 'W'
      value_template: '{{ states("sensor.sutherland_storage_heater_power") | float + states("sensor.workshop_storage_heater_power") | float }}'

If one of the sensors goes offline, the sum sensor is also unavailable. How could I make it resilient to this, to return the value of the online sensor even if the other goes offline?

Many thanks in advance
Roger

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 107198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>