Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - platform: template
- sensors:
- poids_aurelien:
- friendly_name: "Poids Aurélien"
- value_template: >-
- {% if states('sensor.miscale') | float >= 69 and states('sensor.miscale') | float <= 72.99 %}
- {{ states("sensor.miscale") }}
- {% endif %}
- unit_of_measurement: 'kg'
- icon_template: mdi:scale-bathroom
- - platform: template
- sensors:
- poids_siham:
- friendly_name: "Poids Siham"
- value_template: >-
- {% if states('sensor.miscale') | float >= 73 and states('sensor.miscale') | float <= 80 %}
- {{ states("sensor.miscale") }}
- {% endif %}
- unit_of_measurement: 'kg'
- icon_template: mdi:scale-bathroom
- - platform: template
- sensors:
- poids_sacha:
- friendly_name: "Poids Sacha"
- value_template: >-
- {% if states('sensor.miscale') | float >= 28 and states('sensor.miscale') | float <= 35 %}
- {{ states("sensor.miscale") }}
- {% endif %}
- unit_of_measurement: 'kg'
- icon_template: mdi:scale-bathroom
- - platform: template
- sensors:
- poids_theo:
- friendly_name: "Poids Théo"
- value_template: >-
- {% if states('sensor.miscale') | float >= 48 and states('sensor.miscale') | float <= 55 %}
- {{ states("sensor.miscale") }}
- {% endif %}
- unit_of_measurement: 'kg'
- icon_template: mdi:scale-bathroom
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement