Restart Hallway IP Camera - By Socket

View All Rules

alias: Restart Hallway IP Camera - By Socket
trigger:
- platform: state
  entity_id: switch.gf_hallway_camera_switch
  from:  'on'
  to:  'off'
  for:
    minutes: 5
action:
  - service: switch.turn_on
    data:
      entity_id: switch.gf_hallway_camera_switch
  - service: notify.signal_stuart
    data:
      message: "The Hallway Camera got turned off? I've turned it on again"

© 2020. Some rights reserved. The contents of this site is released under a Creative Commons Attribution-Share Alike license.