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
485 stars 116 forks source link

Unclear function for setting state_class #126

Closed jobvk closed 7 months ago

jobvk commented 1 year ago

In the documentation and examples, I can't find an example of how to use state_class?

pebalk commented 1 year ago

In the documentation and examples, I can't find an example of how to use state_class?

Please have a look at my new commit #128 Should fix the missing option.

dawidchyrzynski commented 7 months ago

@jobvk This feature will be available in the coming version of the lib - https://github.com/dawidchyrzynski/arduino-home-assistant/pull/179