lolouk44 / hassio-addons

Xiaomi Mi Scale Add On for Home Assistant
MIT License
125 stars 42 forks source link

Bad names for MQTT variables. #33

Closed zerofull56 closed 3 years ago

zerofull56 commented 3 years ago

Will need to change variable names otherwise Home Assistant does not write data to them. Basal Metabolism -> Basal_Metabolism Visceral_Fat -> Visceral_Fat

lolouk44 commented 3 years ago

I'm confused. Home assistant should not write back to MQTT, it should only get the information from MQTT to then display as a sensor.

zerofull56 commented 3 years ago

Sorry, this is my mistake... It's work perfectly, thanks.

lolouk44 commented 3 years ago

Thanks. That said It would make sense to follow json standards of snake case, so will look at this in a future release.