hass-workstation-service icon indicating copy to clipboard operation
hass-workstation-service copied to clipboard

Feature Request - Option to pass JSON

Open manju-rn opened this issue 3 years ago • 1 comments

It would be great to have ability to pass the custom JSON to the MQTT message for a sensor. This would allow to tailor make sensors in HA (I am sure same on OpenHAB as well) so that the Sensor entity created in HA can have required attributes, for example. creating a device-class or any Long Term stats like state-class, measurement

HA Long Term Stats

manju-rn avatar Aug 19 '21 00:08 manju-rn

Thanks for creating an issue!

Interesting idea. These properties are hardcoded in the sensor code now. Should not be too difficult to make those configurable.

sleevezipper avatar Sep 03 '21 14:09 sleevezipper