Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - platform: template
- sensors:
- washing_machine_running:
- friendly_name: Washing Machine Running
- value_template: >-
- {% if state('sensor.0001d3c99c8305_power')|float > 1 and state('sensor.0001d3c99c8305_current')|float > 2 %}
- true
- {% else %}
- false
- {% endif %}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement