|
@@ -22,6 +22,12 @@ trigger:
|
|
id: PAUSE
|
|
id: PAUSE
|
|
to: PAUSE
|
|
to: PAUSE
|
|
enabled: true
|
|
enabled: true
|
|
|
|
+ - platform: state
|
|
|
|
+ entity_id:
|
|
|
|
+ - sensor.floppy_player_device_status
|
|
|
|
+ id: SKIP
|
|
|
|
+ to: SKIP
|
|
|
|
+ enabled: true
|
|
condition: []
|
|
condition: []
|
|
action:
|
|
action:
|
|
- if:
|
|
- if:
|
|
@@ -55,4 +61,14 @@ action:
|
|
entity_id:
|
|
entity_id:
|
|
- media_player.ytube_music_player
|
|
- media_player.ytube_music_player
|
|
data: {}
|
|
data: {}
|
|
|
|
+ - if:
|
|
|
|
+ - condition: trigger
|
|
|
|
+ id:
|
|
|
|
+ - SKIP
|
|
|
|
+ then:
|
|
|
|
+ - service: media_player.media_next_track
|
|
|
|
+ target:
|
|
|
|
+ entity_id:
|
|
|
|
+ - media_player.ytube_music_player
|
|
|
|
+ data: {}
|
|
mode: single
|
|
mode: single
|