Have recently been fitting the house out with various smarts and got most working well in HA. Very impressed with everything that’s here for us. I have a couple of things I can’t find out how to do, I’m sure it’s been asked before, I’m just not sure on the terminology 100%.
I have the power monitored to the washing machine and am using the automation to alert me when the power drops below 5w, to say it’s finished and to empty the clothes. Is there a way I can add additional status/entities to show the washing machine is ‘in use’ (power > 5w), ‘ready’ (power < 3w) and ‘Needs Emptied’ (power <5w & > 3w).
Additionally I have a smart plug monitoring my computer set up and making sure everything that I don’t need gets turned off (monitors etc). Is there a way I can record the time where the power used is over, say, 50w? I’d like to chart how long I’m spending working.
I’ve another query about the auto entity card, but that’s a minor niggle and I made a seperate post a few days ago.
Since you just learned how to do templates, you could make a new binary sensor template that’s on (meaning you are working) based on wattage being above what you want. Then use that new sensor you created with the history_stats integration to track how long it’s been on that state https://www.home-assistant.io/integrations/history_stats/