kvvhost

unavailable_light_turn_off

May 29th, 2020
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. # выключение лампы при возобновлении питания
  2. - alias: 'lamp_test_off'
  3. description: '.'
  4. trigger:
  5. - platform: state
  6. entity_id:
  7. - light.test_light
  8. from: 'unavailable'
  9. action:
  10. - service: light.turn_off
  11. entity_id:
  12. - light.test_light
Advertisement
Add Comment
Please, Sign In to add comment