lacrima08

Sèche-Linge

Jan 7th, 2024
207
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. # Determine when the washing machine has a load running.
  2. - binary_sensor:
  3. - name: "Sèche-Linge"
  4. delay_off:
  5. "00:03:00"
  6. state: >
  7. {{ states('sensor.prise_seche_linge_power')|float(0) > 10 }}
  8. unique_id: 4259-4ddb-a177
  9. icon: >
  10. {% if states("sensor.prise_seche_linge_power")|float(0) > 10 %}
  11. mdi:washing-machine
  12. {% else %}
  13. mdi:washing-machine-off
  14. {% endif %}
Advertisement
Add Comment
Please, Sign In to add comment