Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
25 lines (22 sloc) 602 Bytes
---
alias: Restart Kitchen IP Camera - By Socket
trigger:
- platform: state
entity_id: switch.gf_kitchen_camera_switch
from: 'on'
to: 'off'
for:
minutes: 5
action:
- service: switch.turn_on
data:
entity_id: switch.gf_kitchen_camera_switch
- service: script.notify_join
data_template:
who: "stuart"
title: 'Kitchen Camera'
notification_id: "hass-cam-Kitchen"
icon: !secret http_icon_cctv
smallicon: !secret http_smallicon_cctv
image: !secret http_image_cctv
value1: "The Kitchen Camera got turned off? I've turned it on again"
You can’t perform that action at this time.