Update README.md

This commit is contained in:
lolouk44 2020-09-10 10:01:02 +01:00
parent 816a2990b4
commit 9267d83024

View file

@ -2,6 +2,15 @@
Code to read weight measurements from Xiaomi Body Scales. Code 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
--- | --- | :---: --- | --- | :---: