diff --git a/source/_integrations/withings.markdown b/source/_integrations/withings.markdown index 9e1458cf537..f58de13d921 100644 --- a/source/_integrations/withings.markdown +++ b/source/_integrations/withings.markdown @@ -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 %}