From 9267d83024e82d12c06458b614a212bdd04e0fbb Mon Sep 17 00:00:00 2001 From: lolouk44 <laurent.mahe@gmail.com> Date: Thu, 10 Sep 2020 10:01:02 +0100 Subject: [PATCH] Update README.md --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 9a498df..8820057 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,15 @@ 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: Name | Model | Picture --- | --- | :---: