Hi,
My automations triggers when the kids have been playing for 2 hours. First the Google Hub tells them that it has been 2 hours and that they should to something else, after 10 minutes the automation turns off the Xbox setup, that is done via the Harmony hub. It works great
My problem is that the kids just turns it back on if i am not home (clever as they are). I want to have an automation after it has been turn off that stops the Harmony to restart the Xbox setup again for at least 30-60 min.
How to do that in the automation?
Best regards
Thekholm
alias: TTS - Turn off Xbox
description: ''
trigger:
- platform: state
entity_id: switch.harmony_hub_xbox
to: 'on'
for:
hours: 2
minutes: 0
seconds: 0
condition: []
action:
- service: script.x
data: {}
- delay:
hours: 0
minutes: 10
seconds: 0
milliseconds: 0
- type: turn_off
device_id: My device id
entity_id: switch.harmony_hub_xbox
domain: switch
mode: single
1 post - 1 participant