Open arthurlutz opened 2 years ago
Thank you for use. You can update to the latest version
The configuration field replaces the default configuration
Please refer to this document
https://www.home-assistant.io/integrations/sensor.mqtt/
Great! Thanks for the documentation / explanation, it seems to be working !
Again thanks for node-red-contrib-ha-mqtt it's a great way to tinker between node-red and homeassistant and enables uses outside of "cloud polling" modules !
I am extracting energy consumption and sending it to homeassistant using your module :
Here is what the settings looks like :
But on the homeassistant side I get the following warning :
Reading https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes I get a sense that I should add
state_class: total_increasing
and have tried a few combinations in the 配置 (configure) field, but not sure it worked.Can this be done by matter of configuration or does it need to be changed in the code ?