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
518 stars 120 forks source link

HANumber class - Add function: getState() #269

Open CoderTobi opened 2 months ago

CoderTobi commented 2 months ago

Currently there is only the function getCurrentState() but that doesn't fetch the actual state from HA. See: Docs Would it be possible to add a function getState() to fetch the actuall state from HA?