jeroenterheerdt / HADailySensor

Sensor for Home Assistant that gets reset at midnight
MIT License
76 stars 19 forks source link

Store timestamp when min/max changes #34

Closed Herjan closed 8 months ago

Herjan commented 1 year ago

As per multiple requests, I've added an attribute that will be updated with the current datetime, whenever the state for the sensor is changed when using min or max operation. It will reset when the sensor is reset.

This is my first public contribution on Github ever, so please excuse me if I messed something up 😄