Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- alias: "TEST "
- description: ""
- trigger:
- - platform: state
- entity_id:
- - sensor.sensore_bagno_temperature
- condition: []
- action:
- - if:
- - condition: numeric_state
- entity_id: sensor.sensore_bagno_temperature
- below: 10
- then:
- - service: light.turn_off
- metadata: {}
- data: {}
- target:
- entity_id: light.piantana
- else:
- - service: light.turn_on
- metadata: {}
- data: {}
- target:
- entity_id: light.piantana
- mode: single
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement