Remove obsolete info (#28750)

This commit is contained in:
Joost Lekkerkerker 2023-08-31 22:01:57 +02:00 committed by GitHub
parent e37c78a3d2
commit ca5affa98d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -82,60 +82,3 @@ use_webhook:
type: boolean
{% endconfiguration %}
## Bonus: Template Sensors to Convert Kilograms to Pounds
In a text editor, replace ```USER_PROFILE_NAME``` in the template sensors below with your Withings User Profile Name defined in the Withings integration configuration.
{% raw %}
```yaml
# Example configuration.yaml entry
template:
- sensor:
- name: Withings weight lbs USER_PROFILE_NAME
unit_of_measurement: "lbs"
state: >-
{{
(states('sensor.withings_weight_kg_USER_PROFILE_NAME') | float(0) * 2.20462262185)
| round(2, default=0)
}}
icon: "mdi:weight-pound"
- name: Withings bone mass lbs USER_PROFILE_NAME
unit_of_measurement: "lbs"
state: >-
{{
(states('sensor.withings_bone_mass_kg_USER_PROFILE_NAME') | float(0) * 2.20462262185)
| round(2, default=0)
}}
icon: "mdi:weight-pound"
- name: Withings fat free mass lbs USER_PROFILE_NAME
unit_of_measurement: "lbs"
state: >-
{{
(states('sensor.withings_fat_free_mass_kg_USER_PROFILE_NAME') | float(0) * 2.20462262185)
| round(2, default=0)
}}
icon: "mdi:weight-pound"
- name: Withings fat mass lbs USER_PROFILE_NAME
unit_of_measurement: "lbs"
state: >-
{{
(states('sensor.withings_fat_mass_kg_USER_PROFILE_NAME') | float(0) * 2.20462262185)
| round(2, default=0)
}}
icon: "mdi:weight-pound"
- name: Withings muscle mass lbs USER_PROFILE_NAME
unit_of_measurement: "lbs"
state: >-
{{
(states('sensor.withings_muscle_mass_kg_USER_PROFILE_NAME') | float(0) * 2.20462262185)
| round(2, default=0)
}}
icon: "mdi:weight-pound"
```
{% endraw %}