Add PC suspend when tv is turned on
This commit is contained in:
parent
ac6376e808
commit
ae2ddf20bf
1 changed files with 14 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
||||||
- id: tv-volume notification
|
- id: tv-volume-notification
|
||||||
alias: '[Phone] Sleep as Android'
|
alias: '[TV] Volume notification'
|
||||||
mode: single
|
mode: single
|
||||||
trigger:
|
trigger:
|
||||||
- platform: state
|
- platform: state
|
||||||
|
@ -18,3 +18,14 @@
|
||||||
data:
|
data:
|
||||||
duration: 1
|
duration: 1
|
||||||
color: black
|
color: black
|
||||||
|
- id: tv-suspend-pc
|
||||||
|
alias: '[TV] When turned on suspend PC'
|
||||||
|
description: ''
|
||||||
|
mode: single
|
||||||
|
trigger:
|
||||||
|
- platform: state
|
||||||
|
entity_id: media_player.samsung_qe55q6fam
|
||||||
|
from: 'off'
|
||||||
|
to: 'on'
|
||||||
|
action:
|
||||||
|
- service: script.pc_sleep
|
||||||
|
|
Loading…
Reference in a new issue