ESPresence, OBK, and other updates
This commit is contained in:
37
packages/alexa_tplink_actions.yaml
Normal file
37
packages/alexa_tplink_actions.yaml
Normal file
@@ -0,0 +1,37 @@
|
||||
automation:
|
||||
- alias: "Turn on the Wifi Guest Network"
|
||||
trigger:
|
||||
platform: state
|
||||
entity_id: input_boolean.wifi_guest_network
|
||||
to: "on"
|
||||
action:
|
||||
service: media_player.play_media
|
||||
target:
|
||||
entity_id: media_player.view_rd_kitchen_echo_show
|
||||
data:
|
||||
media_content_type: "custom"
|
||||
media_content_id: "ask t.p.link to enable guest network"
|
||||
- alias: "Turn off the Wifi Guest Network"
|
||||
trigger:
|
||||
platform: state
|
||||
entity_id: input_boolean.wifi_guest_network
|
||||
to: "off"
|
||||
action:
|
||||
service: media_player.play_media
|
||||
target:
|
||||
entity_id: media_player.view_rd_kitchen_echo_show
|
||||
data:
|
||||
media_content_type: "custom"
|
||||
media_content_id: "ask t.p.link to disable guest network"
|
||||
- alias: "Switch guest network off after time"
|
||||
trigger:
|
||||
platform: state
|
||||
entity_id: input_boolean.wifi_guest_network
|
||||
from: "off"
|
||||
to: "on"
|
||||
for: "02:00:00"
|
||||
condition: []
|
||||
action:
|
||||
service: input_boolean.turn_off
|
||||
entity_id: input_boolean.wifi_guest_network
|
||||
mode: single
|
Reference in New Issue
Block a user