dawidchyrzynski / arduino-home-assistant

ArduinoHA allows to integrate an Arduino/ESP based device with Home Assistant using MQTT.
https://dawidchyrzynski.github.io/arduino-home-assistant/
GNU Affero General Public License v3.0
463 stars 112 forks source link

Add state class support to HABinarySensor #251

Open cscott opened 1 month ago

cscott commented 1 month ago

In b1eeec0856fca3354bdefc369b54287a24ff7f4d (#179) support was added for long-term statistics of sensors. HomeAssistant also supports long-term statistics on binary sensors. This patch adds that.