One remote to rule them all
This commit is contained in:
1 parent
db12c81f6d
commit
bcfaa83f10
3 files changed
+97
-5
No files matched your search
@@ -2,6 +2,11 @@ samsung_the_frame:
|
||||
module: samsungtheframe
|
||||
class: SamsungTheFrame
|
||||
|
||||
volume_up_events:
|
||||
- the_frame_volume_up
|
||||
volume_down_events:
|
||||
- the_frame_volume_down
|
||||
|
||||
ip_address: 10.0.0.58
|
||||
#broadcast_address: 10.0.0.255
|
||||
#mac_address: 98:06:3C:85:93:38
|
||||
@@ -230,4 +235,48 @@ apple_remote:
|
||||
virtual_events:
|
||||
toggle_use_bravia_theater_for_the_frame:
|
||||
event_name: toggle_use_bravia_theater_for_the_frame
|
||||
event_condition: binary_sensor.is_tv_on and binary_sensor.ir_bridge_apple_tv_mute_button_short_press
|
||||
event_condition: binary_sensor.is_tv_on and binary_sensor.ir_bridge_apple_tv_mute_button_short_press
|
||||
|
||||
# Volume buttons received by the IR bridge: Bravia > TV > Sonos.
|
||||
homecinema_volume:
|
||||
module: eventsforwarder
|
||||
class: EventsForwarder
|
||||
priority: 100
|
||||
|
||||
forwarders:
|
||||
volume_up:
|
||||
events_to_listen:
|
||||
- esphome.ir_bridge_volume_up
|
||||
events_to_send:
|
||||
the_frame:
|
||||
event_name: the_frame_volume_up
|
||||
event_condition: not (media_player.bravia_theatre == 'on' or media_player.bravia_theatre == 'playing' or media_player.bravia_theatre == 'paused' or media_player.bravia_theatre == 'idle') and binary_sensor.is_tv_on == 'on'
|
||||
services_to_call:
|
||||
bravia:
|
||||
service: media_player/volume_up
|
||||
event_condition: (media_player.bravia_theatre == 'on' or media_player.bravia_theatre == 'playing' or media_player.bravia_theatre == 'paused' or media_player.bravia_theatre == 'idle')
|
||||
data:
|
||||
entity_id: media_player.bravia_theatre
|
||||
sonos:
|
||||
service: media_player/volume_up
|
||||
event_condition: not (media_player.bravia_theatre == 'on' or media_player.bravia_theatre == 'playing' or media_player.bravia_theatre == 'paused' or media_player.bravia_theatre == 'idle') and binary_sensor.is_tv_on != 'on'
|
||||
data:
|
||||
entity_id: media_player.living_room_sonos
|
||||
volume_down:
|
||||
events_to_listen:
|
||||
- esphome.ir_bridge_volume_down
|
||||
events_to_send:
|
||||
the_frame:
|
||||
event_name: the_frame_volume_down
|
||||
event_condition: not (media_player.bravia_theatre == 'on' or media_player.bravia_theatre == 'playing' or media_player.bravia_theatre == 'paused' or media_player.bravia_theatre == 'idle') and binary_sensor.is_tv_on == 'on'
|
||||
services_to_call:
|
||||
bravia:
|
||||
service: media_player/volume_down
|
||||
event_condition: (media_player.bravia_theatre == 'on' or media_player.bravia_theatre == 'playing' or media_player.bravia_theatre == 'paused' or media_player.bravia_theatre == 'idle')
|
||||
data:
|
||||
entity_id: media_player.bravia_theatre
|
||||
sonos:
|
||||
service: media_player/volume_down
|
||||
event_condition: not (media_player.bravia_theatre == 'on' or media_player.bravia_theatre == 'playing' or media_player.bravia_theatre == 'paused' or media_player.bravia_theatre == 'idle') and binary_sensor.is_tv_on != 'on'
|
||||
data:
|
||||
entity_id: media_player.living_room_sonos
|
||||
Reference in new issue
Block a user