Home cinema rework
This commit is contained in:
1 parent
9717a5795b
commit
ed6f218968
6 files changed
+690
-117
No files matched your search
@@ -42,16 +42,17 @@ virtual_sensors:
|
||||
# is_apple_tv_on is not reliable as the the apple tv integration sometimes return "paused" when it's actually off,
|
||||
# you should use is_using_apple_tv instead for most automation
|
||||
binary_sensor.is_apple_tv_on: media_player.apple_tv != 'off' and media_player.apple_tv != 'idle'
|
||||
binary_sensor.is_xbox_on: media_player.xbox != 'off'
|
||||
binary_sensor.is_xbox_on: binary_sensor.yetanotherpedro #media_player.xbox != 'off' and media_player.xbox != 'unavailable'
|
||||
binary_sensor.is_playstation_on: switch.ps5_136_power
|
||||
retain_condition.vertex2_has_input_signal:
|
||||
retain_time: 10
|
||||
conditions:
|
||||
trigger_conditions: sensor.hdfury_vertex2_07_output_tx0 or sensor.hdfury_vertex2_07_audio_output
|
||||
disable_conditions: sensor.hdfury_vertex2_07_output_tx0 == 'unavailable'
|
||||
binary_sensor.is_using_apple_tv: binary_sensor.is_apple_tv_on and binary_sensor.vertex2_has_input_signal and select.hdfury_vertex2_07_port_select_tx0 == 0
|
||||
binary_sensor.is_using_xbox: binary_sensor.is_xbox_on and binary_sensor.vertex2_has_input_signal and select.hdfury_vertex2_07_port_select_tx0 == 1
|
||||
binary_sensor.is_using_playstation: binary_sensor.is_playstation_on and binary_sensor.vertex2_has_input_signal and select.hdfury_vertex2_07_port_select_tx0 == 2
|
||||
trigger_conditions: (sensor.vertex2_video_signal and sensor.vertex2_video_signal != 'no signal') or sensor.vertex2_audio_signal
|
||||
disable_conditions: binary_sensor.vertex2_unreachable
|
||||
binary_sensor.is_using_apple_tv: binary_sensor.is_apple_tv_on and binary_sensor.vertex2_has_input_signal #and select.hdfury_vertex2_07_port_select_tx0 == 0
|
||||
binary_sensor.is_using_xbox: binary_sensor.is_xbox_on and binary_sensor.vertex2_has_input_signal #and select.hdfury_vertex2_07_port_select_tx0 == 1
|
||||
binary_sensor.is_using_playstation: binary_sensor.is_playstation_on and binary_sensor.vertex2_has_input_signal #and select.hdfury_vertex2_07_port_select_tx0 == 2
|
||||
|
||||
|
||||
continuous_condition.is_vertex2_content_idle:
|
||||
time: 5
|
||||
|
||||
Reference in new issue
Block a user