bphermansson / EspSparsnasGateway

Reads data from Ikea Sparsnäs energy meter and publish via Mqtt.
MIT License
39 stars 27 forks source link

Add device_class and state_class parameters to send_discovery_message and send correct values #65

Open ChoffaH opened 8 months ago

ChoffaH commented 8 months ago

This enables using the discovered sensors in the home assistant energy dashboard. Also fixed the readme with the same changes so should solve #64