Shorter reconnection delay
This commit is contained in:
1 parent
8a8cb02296
commit
8cc2ae32df
4 files changed
+64
-25
No files matched your search
+22
-14
@@ -26,7 +26,6 @@ samsung_the_frame:
|
||||
trigger_conditions:
|
||||
- binary_sensor.is_everybody_sleeping or binary_sensor.is_living_room_sleeping or not binary_sensor.someone_home
|
||||
- binary_sensor.projector_screen_down
|
||||
#hdmi: binary_sensor.vertex2_tx0_plus5_for_a_while and binary_sensor.vertex2_has_input_signal and not binary_sensor.projector_screen_down
|
||||
hdmi: binary_sensor.vertex2_has_input_signal and not binary_sensor.projector_screen_down
|
||||
manual: binary_sensor.is_tv_on and not binary_sensor.tv_auto_shutdown
|
||||
tv_off: not binary_sensor.living_room_occupancy
|
||||
@@ -127,6 +126,14 @@ projection_screen_switch:
|
||||
class: SmartSwitch
|
||||
entity: input_boolean.projection_screen
|
||||
|
||||
virtual_sensors:
|
||||
sensors:
|
||||
continuous_condition.projection_screen_on_for_a_while:
|
||||
time: 300
|
||||
conditions: input_boolean.projection_screen
|
||||
|
||||
off_conditions: binary_sensor.projection_screen_on_for_a_while and binary_sensor.projector_off_for_a_while
|
||||
|
||||
toggle_events:
|
||||
apple_tv_mute_long_press:
|
||||
event_name: state_changed
|
||||
@@ -153,6 +160,7 @@ vertex_2:
|
||||
virtual_sensors:
|
||||
default_values:
|
||||
binary_sensor.is_tv_on: false
|
||||
binary_sensor.someone_home: false
|
||||
binary_sensor.vertex2_has_input_signal: false
|
||||
sensors:
|
||||
binary_sensor.projector_screen_down: input_boolean.projection_screen
|
||||
@@ -164,7 +172,6 @@ vertex_2:
|
||||
0:
|
||||
name: AppleTV
|
||||
icon: mdi:apple
|
||||
#reboot_when_leaving: True
|
||||
1:
|
||||
name: Xbox
|
||||
icon: mdi:microsoft-xbox
|
||||
@@ -183,23 +190,20 @@ vertex_2:
|
||||
name: TV
|
||||
icon: mdi:television
|
||||
use_audio_out_audio_flags: input_boolean.use_bravia_theater_for_the_frame
|
||||
force_plus5:
|
||||
trigger_conditions: binary_sensor.is_tv_on or binary_sensor.vertex2_has_input_signal
|
||||
blocking_conditions: not switch.the_frame_power_plug
|
||||
force_plus5: not binary_sensor.vertex2_no_signal_spam
|
||||
1:
|
||||
name: Projector
|
||||
icon: mdi:projector
|
||||
use_audio_out_audio_flags: True
|
||||
force_plus5: switch.living_room_projector_plug
|
||||
#force_plus5: switch.living_room_projector_plug
|
||||
|
||||
# vertex2_power_plug:
|
||||
# entity: switch.fibaro_vertex_plug_51
|
||||
# # power_consumption: sensor.fibaro_vertex_plug_51_power
|
||||
# conditions:
|
||||
# trigger_conditions: binary_sensor.someone_home
|
||||
# blocking_conditions:
|
||||
# - binary_sensor.is_everybody_sleeping or binary_sensor.is_salon_sleeping
|
||||
# - binary_sensor.vertex2_unreachable and not binary_sensor.is_tv_on and not binary_sensor.projector_on
|
||||
vertex2_power_plug:
|
||||
entity: switch.vertex2_power_plug
|
||||
# power_consumption: sensor.fibaro_vertex_plug_51_power
|
||||
conditions:
|
||||
trigger_conditions: binary_sensor.someone_home #and (input_boolean.projection_screen or binary_sensor.the_frame_is_plugged_for_a_while)
|
||||
blocking_conditions: (binary_sensor.is_everybody_sleeping or binary_sensor.is_living_room_sleeping) and not binary_sensor.vertex2_has_input_signal
|
||||
|
||||
|
||||
#filmmaker_mode_conditions: sensor.vertex2_input_select_tx0 == 'AppleTV'
|
||||
|
||||
@@ -216,12 +220,16 @@ vertex_2:
|
||||
|
||||
vertex2_address: http://10.0.0.33
|
||||
vertex2_tcp_port: 2220
|
||||
startup_delay: 30 # seconds after the power plug turns on
|
||||
|
||||
video_tx_signal_sensor: sensor.vertex2_video_signal
|
||||
allm_sensor: binary_sensor.vertex2_allm
|
||||
#tx0_plus5_sensor: binary_sensor.vertex2_tx0_plus5
|
||||
#tx1_plus5_sensor: binary_sensor.vertex2_tx1_plus5
|
||||
audio_out_signal_sensor: sensor.vertex2_audio_signal
|
||||
output_selected_sensor: sensor.vertex2_output_selected
|
||||
input_selected_sensor: sensor.vertex2_input_selected
|
||||
no_signal_spam_sensor: binary_sensor.vertex2_no_signal_spam
|
||||
unreachable_sensor: binary_sensor.vertex2_unreachable
|
||||
command_processing_sensor: binary_sensor.vertex2_command_processing
|
||||
command_processing_timeout: 20
|
||||
|
||||
Reference in new issue
Block a user