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

(Elegant) Way to sum and compare Value and its Value 24h ago

$
0
0

I have regulary updating estimated yearly Power Consumption of various Deviced. Now i want to show
a) The sum of all devices
b) show its difference to the Value 24h ago

I could do it with massive use of variables, but im pretty sure that is the most unprofessional and hard to maintain Way :stuck_out_tongue_winking_eye:

a) can i sum up all Devices with wildcards, e.g. sum(sensor.tasmota*.yearlykwh) in a Template?
b) how can i most easy access the value/state it had 24h ago?

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 105566

Trending Articles



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