Update README.md

This commit is contained in:
lolouk44 2020-09-10 10:02:27 +01:00
parent 22c87e3ad5
commit ca4dda0547

View File

@ -2,6 +2,15 @@
Add-On for [HomeAssistant](https://www.home-assistant.io/) to read weight measurements from Xiaomi Body Scales. Add-On for [HomeAssistant](https://www.home-assistant.io/) to read weight measurements from Xiaomi Body Scales.
## BREAKING CHANGE:
Please note there was a breaking change in 0.1.8. The MQTT message json attributes are now in lower snake_case to be compliant with Home-Assistant Attributes.
This means Home-Assistant sensor configuration needs to be adjusted.
For example
`value_template: "{{ value_json['Weight'] }}"`
Needs to be replaced with
`value_template: "{{ value_json['weight'] }}"`
(note the lowercase `w` in `weight`)
## Supported Scales: ## Supported Scales:
Name | Model | Picture Name | Model | Picture
--- | --- | :---: --- | --- | :---: