I am using the Emporia Hue integration which creates entities that are the power utilization for each sensor. I would like to create an entity which I can display which is the su of several sensors. I am new to templating but I thought that templates would be the way to go. However, I am stuck at accessing the sensor values. I tried creating a trivial template like this:
The current power utilization is: {{sensor.power_house_123_1min}}
but that returns an error that βsensorβ is undefined. How do I access the values so that I can get the total as a value I can use?
Minor point: the float and round filters should be provided with a default value.
The current version of Home Assistant (October release) will post a warning message to the log if float (and several other filters) has no default value and it is unable to process the value it received. In the December release, it becomes an error message and the template fails.
Correct. Iβve tried with different sensors, all of which are properly displaying their values on a Lovelace card and all of which I copied and pasted the entity id.