Will pushing from the server break anything?

This commit is contained in:
HomeAssistant
2025-12-06 09:12:49 -05:00
parent 78cd67a560
commit a49d981ad4
225 changed files with 2241 additions and 2237 deletions
+1
View File
@@ -18,6 +18,7 @@ backup_config.yaml
.storage/
.cloud/
.automatic/
glances/
.tts.token*
*.tts.token
customize.yaml
+3 -3
View File
@@ -47,17 +47,17 @@ This is how to actuall do it!
```yaml
- platform: template
value_template: >
{{ is_state('binary_sensor.girls_room_multisensor_home_security_motion_detection','off') and states('sensor.girls_room_last_motion') | int <= 300 and states('sensor.system_uptime') | int >= 5 }}
{{ is_state('binary_sensor.girls_room_multisensor_motion_detection','off') and states('sensor.girls_room_last_motion') | int <= 300 and states('sensor.system_uptime') | int >= 5 }}
prob_given_true: 0.8
- platform: template
value_template: >
{{ is_state('binary_sensor.girls_room_multisensor_home_security_motion_detection','off') and states('sensor.girls_room_last_motion') | int > 300 and states('sensor.girls_room_last_motion') | int <= 600 and states('sensor.system_uptime') | int >= 5 }}
{{ is_state('binary_sensor.girls_room_multisensor_motion_detection','off') and states('sensor.girls_room_last_motion') | int > 300 and states('sensor.girls_room_last_motion') | int <= 600 and states('sensor.system_uptime') | int >= 5 }}
prob_given_true: 0.6
- platform: template
value_template: >
{{ is_state('binary_sensor.girls_room_multisensor_home_security_motion_detection','off') and states('sensor.girls_room_last_motion') | int > 600 and states('sensor.girls_room_last_motion') | int <= 900 and states('sensor.system_uptime') | int >= 10 }}
{{ is_state('binary_sensor.girls_room_multisensor_motion_detection','off') and states('sensor.girls_room_last_motion') | int > 600 and states('sensor.girls_room_last_motion') | int <= 900 and states('sensor.system_uptime') | int >= 10 }}
prob_given_true: 0.4
```
+6 -6
View File
@@ -40,8 +40,8 @@ action:
- switch.frigate_cam07_recordings
- switch.frigate_cam08_recordings
- switch.frigate_cam12_recordings
- switch.frigate_cam13_recordings
- switch.frigate_cam14_recordings
# - switch.frigate_cam13_recordings
# - switch.frigate_cam14_recordings
- switch.frigate_cam18_recordings
- switch.frigate_cam19_recordings
@@ -61,7 +61,7 @@ action:
- switch.frigate_cam07_recordings
- switch.frigate_cam08_recordings
- switch.frigate_cam12_recordings
- switch.frigate_cam13_recordings
# - switch.frigate_cam13_recordings
- conditions:
- condition: state
entity_id: input_boolean.indoor_recordings
@@ -77,7 +77,7 @@ action:
- switch.frigate_cam07_recordings
- switch.frigate_cam08_recordings
- switch.frigate_cam12_recordings
- switch.frigate_cam13_recordings
# - switch.frigate_cam13_recordings
- choose:
- conditions:
@@ -90,7 +90,7 @@ action:
target:
entity_id:
- switch.frigate_cam04_recordings
- switch.frigate_cam14_recordings
# - switch.frigate_cam14_recordings
- switch.frigate_cam18_recordings
- switch.frigate_cam19_recordings
- conditions:
@@ -103,6 +103,6 @@ action:
target:
entity_id:
- switch.frigate_cam04_recordings
- switch.frigate_cam14_recordings
# - switch.frigate_cam14_recordings
- switch.frigate_cam18_recordings
- switch.frigate_cam19_recordings
+6 -6
View File
@@ -40,8 +40,8 @@ action:
- switch.frigate_cam07_snapshots
- switch.frigate_cam08_snapshots
- switch.frigate_cam12_snapshots
- switch.frigate_cam13_snapshots
- switch.frigate_cam14_snapshots
# - switch.frigate_cam13_snapshots
# - switch.frigate_cam14_snapshots
- switch.frigate_cam18_snapshots
- switch.frigate_cam19_snapshots
@@ -61,7 +61,7 @@ action:
- switch.frigate_cam07_snapshots
- switch.frigate_cam08_snapshots
- switch.frigate_cam12_snapshots
- switch.frigate_cam13_snapshots
# - switch.frigate_cam13_snapshots
- conditions:
- condition: state
entity_id: input_boolean.indoor_snapshots
@@ -77,7 +77,7 @@ action:
- switch.frigate_cam07_snapshots
- switch.frigate_cam08_snapshots
- switch.frigate_cam12_snapshots
- switch.frigate_cam13_snapshots
# - switch.frigate_cam13_snapshots
- choose:
- conditions:
@@ -90,7 +90,7 @@ action:
target:
entity_id:
- switch.frigate_cam04_snapshots
- switch.frigate_cam14_snapshots
# - switch.frigate_cam14_snapshots
- switch.frigate_cam18_snapshots
- switch.frigate_cam19_snapshots
- conditions:
@@ -103,6 +103,6 @@ action:
target:
entity_id:
- switch.frigate_cam04_snapshots
- switch.frigate_cam14_snapshots
# - switch.frigate_cam14_snapshots
- switch.frigate_cam18_snapshots
- switch.frigate_cam19_snapshots
@@ -39,7 +39,7 @@ condition:
- '{{ is_state("binary_sensor.front_door_contact","off") }}'
- '{{ is_state("binary_sensor.patio_door_contact","off") }}'
- '{{ is_state("binary_sensor.front_porch_motion","off") }}'
- '{{ is_state("binary_sensor.garage_motion_switch_home_security_motion_detection","off") }}'
- '{{ is_state("binary_sensor.garage_motion_switch_motion_detection","off") }}'
- "{{ is_state('input_boolean.outdoor_snapshots','on') }}"
action:
- choose:
@@ -20,7 +20,7 @@ action:
data:
message: >-
{% if as_timestamp(states.input_boolean.kristy_home.last_updated) > as_timestamp(states.input_boolean.clint_home.last_updated) %}
The following are open: {{ dict((states|selectattr('entity_id', 'in', state_attr('group.my_exterior_windows', 'entity_id') + state_attr('group.my_exterior_doors', 'entity_id'))|list)|groupby('state'))['on']|map(attribute='name')|list|join(', ') }}
The following are open: {{ dict((states|selectattr('entity_id', 'in', state_attr('group.my_exterior_windows', 'entity_id') + state_attr('binary_sensor.exterior_doors', 'entity_id'))|list)|groupby('state'))['on']|map(attribute='name')|list|join(', ') }}
{% else %}
The following are open: {{ dict((states|selectattr('entity_id', 'in', state_attr('group.my_exterior_windows', 'entity_id') + state_attr('group.my_exterior_doors', 'entity_id'))|list)|groupby('state'))['on']|map(attribute='name')|list|join(', ') }}
The following are open: {{ dict((states|selectattr('entity_id', 'in', state_attr('group.my_exterior_windows', 'entity_id') + state_attr('binary_sensor.exterior_doors', 'entity_id'))|list)|groupby('state'))['on']|map(attribute='name')|list|join(', ') }}
{% endif %}
@@ -32,4 +32,4 @@ action:
media_player_entity_id: media_player.ma_home_assistant_voice_097b44_media_player
message: >-
The following are open:
{{ dict((states|selectattr('entity_id', 'in', state_attr('group.my_exterior_windows', 'entity_id') + state_attr('group.my_exterior_doors', 'entity_id'))|list)|groupby('state'))['on']|map(attribute='name')|list|join(', ') }}
{{ dict((states|selectattr('entity_id', 'in', state_attr('group.my_exterior_windows', 'entity_id') + state_attr('binary_sensor.exterior_doors', 'entity_id'))|list)|groupby('state'))['on']|map(attribute='name')|list|join(', ') }}
+1 -1
View File
@@ -13,7 +13,7 @@ condition:
state: "off"
for: "00:10:00"
- condition: numeric_state
entity_id: sensor.deck_light_level
entity_id: sensor.deck_hue_motion_sensor_illuminance
below: 25
- condition: numeric_state
entity_id: sensor.sun_elevation
+1 -1
View File
@@ -38,7 +38,7 @@ condition:
state: "on"
# It's getting dark
- condition: numeric_state
entity_id: sensor.bar_light_level
entity_id: sensor.bar_hue_motion_sensor_illuminance
below: 15
# Somebody is nearly home, or just arrived
- condition: or
@@ -95,13 +95,31 @@ action:
entity_id: binary_sensor.computer_area_occupied
state: "on"
sequence:
- action: webrtc.dash_cast
data:
- action: media_player.play_media
target:
entity_id: media_player.computer_area_hub
url: cam01_sub_opus
force: true
extra:
mode: webrtc
data:
media:
media_content_id: media-source://camera/camera.frigate_cam01
media_content_type: image/jpeg
metadata:
title: Frigate Cam01
thumbnail: /api/camera_proxy/camera.frigate_cam01
media_class: video
children_media_class: null
navigateIds:
- {}
- media_content_type: app
media_content_id: media-source://camera
browse_entity_id: media_player.computer_area_hub
# - action: webrtc.dash_cast
# data:
# entity_id: media_player.computer_area_hub
# url: cam01_sub
# force: true
# extra:
# mode: webrtc
- choose:
- conditions:
@@ -109,13 +127,31 @@ action:
entity_id: binary_sensor.front_room_occupied
state: "on"
sequence:
- action: webrtc.dash_cast
data:
- action: media_player.play_media
target:
entity_id: media_player.front_room_hub
url: cam01_sub_opus
force: true
extra:
mode: webrtc
data:
media:
media_content_id: media-source://camera/camera.frigate_cam01
media_content_type: image/jpeg
metadata:
title: Frigate Cam01
thumbnail: /api/camera_proxy/camera.frigate_cam01
media_class: video
children_media_class: null
navigateIds:
- {}
- media_content_type: app
media_content_id: media-source://camera
browse_entity_id: media_player.front_room_hub
# - action: webrtc.dash_cast
# data:
# entity_id: media_player.front_room_hub
# url: cam01_sub
# force: true
# extra:
# mode: webrtc
- delay: "00:10:00"
@@ -26,7 +26,7 @@ trigger:
# - platform: state
# id: motion
# entity_id: group.computer_area_motion
# entity_id: binary_sensor.computer_area_motion
# to: "on"
condition:
@@ -24,7 +24,7 @@ trigger:
# - platform: state
# id: motion
# entity_id: group.dining_room_motion
# entity_id: binary_sensor.dining_room_motion
# to: "on"
condition:
@@ -20,7 +20,7 @@ trigger:
# - platform: state
# id: motion
# entity_id: group.front_room_motion
# entity_id: binary_sensor.front_room_motion
# to: "on"
- platform: state
@@ -119,7 +119,7 @@ action:
condition: state
entity_id: light.front_room_hue
state: "on"
- "{{ states('sensor.front_room_light_level') | float(default=0) < states('input_number.front_room_light_level_trigger') | float(default=0) }}"
- "{{ states('sensor.front_room_hue_motion_sensor_illuminance') | float(default=0) < states('input_number.front_room_light_level_trigger') | float(default=0) }}"
sequence:
- action: scene.turn_on
data:
@@ -137,7 +137,7 @@ action:
condition: state
entity_id: light.front_room_hue
state: "off"
- "{{ states('sensor.front_room_light_level') | float(default=0) < states('input_number.front_room_light_level_trigger') | float(default=0) }}"
- "{{ states('sensor.front_room_hue_motion_sensor_illuminance') | float(default=0) < states('input_number.front_room_light_level_trigger') | float(default=0) }}"
sequence:
- action: scene.turn_on
target:
@@ -149,7 +149,7 @@ action:
condition: state
entity_id: light.front_room_hue
state: "on"
- "{{ states('sensor.front_room_light_level') | float(default=0) < states('input_number.front_room_light_level_trigger') | float(default=0) }}"
- "{{ states('sensor.front_room_hue_motion_sensor_illuminance') | float(default=0) < states('input_number.front_room_light_level_trigger') | float(default=0) }}"
sequence:
- action: scene.turn_on
data:
@@ -163,7 +163,7 @@ action:
condition: state
entity_id: light.front_room_hue
state: "off"
- "{{ states('sensor.front_room_light_level') | float(default=0) < states('input_number.front_room_light_level_trigger') | float(default=0) }}"
- "{{ states('sensor.front_room_hue_motion_sensor_illuminance') | float(default=0) < states('input_number.front_room_light_level_trigger') | float(default=0) }}"
sequence:
- action: scene.turn_on
target:
@@ -3,7 +3,7 @@ id: automation_front_room_water_sensor_on
trigger:
- platform: state
entity_id: binary_sensor.furnace_room_water_sensor_water_alarm_water_leak_detected
entity_id: binary_sensor.furnace_room_water_sensor_leak
to: "on"
for: "00:00:10"
+2 -2
View File
@@ -18,7 +18,7 @@ triggers:
trigger: state
alias: When the furnace room door has been closed for 10 minutes
- id: motion_off
entity_id: binary_sensor.furnace_room_motion_switch_home_security_motion_detection
entity_id: binary_sensor.furnace_room_motion_switch_motion_detection
to: "off"
for: "00:15:00"
trigger: state
@@ -40,7 +40,7 @@ actions:
id: door_closed
- condition: state
entity_id: >-
binary_sensor.furnace_room_motion_switch_home_security_motion_detection
binary_sensor.furnace_room_motion_switch_motion_detection
state: "off"
- condition: state
entity_id: light.furnace_room
@@ -18,7 +18,7 @@ trigger:
# - platform: state
# id: "motion"
# entity_id: group.garage_motion
# entity_id: binary_sensor.garage_motion
# from: "off"
# to: "on"
@@ -56,7 +56,7 @@ trigger:
- platform: state
id: "workshop_motion"
entity_id: group.workshop_motion
entity_id: binary_sensor.workshop_motion
from: "off"
to: "on"
@@ -70,7 +70,7 @@ condition:
state: "on"
variables:
switch_name: girls_room_fan_light_switch_light
switch_name: light.girls_room_fan_light_switch_light
light_name: girls_room_hue
mode_name: input_select.girls_room_mode
automatic_profile: input_select.automatic_light_profile
@@ -89,7 +89,7 @@ action:
sequence:
- action: light.turn_on
target:
entity_id: light.girls_room_hue
entity_id: light.girls_room_fan_light_switch_light
- alias: "If the room is set to auto, the lights are on, and the automatic profile is set to Nightlight, change to the Automatic Light Profile scene with a short transition"
conditions:
@@ -99,7 +99,7 @@ action:
state: Auto
- alias: "Lights are on"
condition: state
entity_id: light.girls_room_hue
entity_id: light.girls_room_fan_light_switch_light
state: "on"
- alias: "Automatic light profile set to Nightlight"
condition: state
@@ -120,7 +120,7 @@ action:
state: Auto
- alias: "Lights are on"
condition: state
entity_id: light.girls_room_hue
entity_id: light.girls_room_fan_light_switch_light
state: "on"
sequence:
- action: scene.turn_on
@@ -137,7 +137,7 @@ action:
state: Auto
- alias: "Lights are off"
condition: state
entity_id: light.girls_room_hue
entity_id: light.girls_room_fan_light_switch_light
state: "off"
sequence:
- action: scene.turn_on
@@ -148,7 +148,7 @@ action:
conditions:
- alias: "Room not manual or auto and lights are on"
condition: state
entity_id: light.girls_room_hue
entity_id: light.girls_room_fan_light_switch_light
state: "on"
- alias: "Room set to Nightlight"
condition: state
@@ -165,7 +165,7 @@ action:
conditions:
- alias: "Room not manual or auto and lights are on"
condition: state
entity_id: light.girls_room_hue
entity_id: light.girls_room_fan_light_switch_light
state: "on"
sequence:
- action: scene.turn_on
@@ -178,7 +178,7 @@ action:
conditions:
- alias: "Room not manual or auto and lights are off"
condition: state
entity_id: light.girls_room_hue
entity_id: light.girls_room_fan_light_switch_light
state: "off"
sequence:
- action: scene.turn_on
@@ -103,7 +103,7 @@ action:
- action: webrtc.dash_cast
data:
entity_id: media_player.computer_area_hub
url: cam08_sub_opus
url: cam08_sub
force: true
extra:
mode: webrtc
@@ -117,7 +117,7 @@ action:
- action: webrtc.dash_cast
data:
entity_id: media_player.front_room_hub
url: cam08_sub_opus
url: cam08_sub
force: true
extra:
mode: webrtc
@@ -26,7 +26,7 @@ trigger:
# - platform: state
# id: motion
# entity_id: group.great_room_motion
# entity_id: binary_sensor.great_room_motion
# to: "on"
condition:
@@ -62,7 +62,7 @@ action:
- condition: state
entity_id: input_select.kitchen_mode
state: "Manual"
- "{{ states('sensor.bar_light_level') | float(default=0) >= states('input_number.kitchen_light_level_trigger') | float(default=0) }}"
- "{{ states('sensor.bar_hue_motion_sensor_illuminance') | float(default=0) >= states('input_number.kitchen_light_level_trigger') | float(default=0) }}"
sequence:
- action: scene.turn_on
data:
@@ -26,7 +26,7 @@ trigger:
# - platform: state
# id: motion
# entity_id: group.kitchen_motion
# entity_id: binary_sensor.kitchen_motion
# to: "on"
condition:
+2 -2
View File
@@ -18,7 +18,7 @@ triggers:
- trigger: state
id: motion_off
entity_id: binary_sensor.mancave_motion_switch_home_security_motion_detection
entity_id: binary_sensor.mancave_motion_switch_motion_detection
to: "off"
for: "00:15:00"
@@ -38,7 +38,7 @@ action:
- condition: trigger
id: "door_closed"
- condition: state
entity_id: binary_sensor.mancave_motion_switch_home_security_motion_detection
entity_id: binary_sensor.mancave_motion_switch_motion_detection
state: "off"
- condition: state
entity_id: light.mancave
@@ -7,7 +7,7 @@ trigger:
entity_id: input_select.master_bathroom_mode
- platform: state
entity_id: input_boolean.master_bathroom_occupied
entity_id: input_boolean.bathroom_occupied
to: "off"
#- platform: time_pattern
@@ -26,7 +26,7 @@ condition:
entity_id: input_select.master_bathroom_mode
state: "Off"
- condition: state
entity_id: input_boolean.master_bathroom_occupied
entity_id: input_boolean.bathroom_occupied
state: "off"
action:
- choose:
@@ -40,7 +40,7 @@ action:
entity_id: input_select.master_bathroom_mode
state: "Off"
- condition: state
entity_id: input_boolean.master_bathroom_occupied
entity_id: input_boolean.bathroom_occupied
state: "off"
- condition: not
conditions:
@@ -62,4 +62,4 @@ action:
- alias: "Turn off z-wave switch since all lights are off"
action: homeassistant.turn_off
target:
entity_id: switch.master_bathroom_motion_switch, switch.shower_switch
entity_id: switch.master_bathroom_motion_switch, switch.master_bathroom_switch
@@ -10,7 +10,7 @@ trigger:
- input_select.master_bathroom_mode
- input_select.automatic_light_profile
- platform: state
entity_id: input_boolean.master_bathroom_occupied
entity_id: input_boolean.bathroom_occupied
to: "on"
# Only turn on the lights when necessary
@@ -19,7 +19,7 @@ condition:
conditions:
# Either when motion is detected
- condition: template
value_template: "{{ trigger.entity_id == 'input_boolean.master_bathroom_occupied' }}"
value_template: "{{ trigger.entity_id == 'input_boolean.bathroom_occupied' }}"
# Or when the scene changes while the lights are already on
- condition: and
conditions:
@@ -30,7 +30,7 @@ condition:
- condition: template
value_template: "{{ trigger.entity_id == 'input_select.automatic_light_profile' }}"
- condition: state
entity_id: input_boolean.master_bathroom_occupied
entity_id: input_boolean.bathroom_occupied
state: "on"
variables:
@@ -44,7 +44,7 @@ action:
target:
entity_id:
- switch.master_bathroom_motion_switch
- switch.shower_switch
- switch.master_bathroom_switch
- choose:
- alias: "If the room is set to manual, just turn the lights on"
conditions:
@@ -10,7 +10,7 @@ trigger:
- platform: state
entity_id:
- input_boolean.home_occupied
- binary_sensor.master_bathroom_occupied
- binary_sensor.bathroom_occupied
to: "off"
for: "00:10:00"
@@ -26,10 +26,10 @@ condition:
- condition: and
conditions:
- condition: state
entity_id: input_boolean.master_bathroom_occupied
entity_id: input_boolean.bathroom_occupied
state: "on"
- condition: state
entity_id: binary_sensor.master_bathroom_occupied
entity_id: binary_sensor.bathroom_occupied
state: "off"
for: "00:10:00"
@@ -41,7 +41,7 @@ action:
state: "off"
sequence:
- action: homeassistant.turn_off
entity_id: input_boolean.master_bathroom_occupied
entity_id: input_boolean.bathroom_occupied
- conditions:
- condition: not
conditions:
@@ -50,4 +50,4 @@ action:
state: "Manual"
sequence:
- action: homeassistant.turn_off
entity_id: input_boolean.master_bathroom_occupied
entity_id: input_boolean.bathroom_occupied
@@ -5,14 +5,14 @@ mode: restart
trigger:
- platform: state
entity_id:
- binary_sensor.master_bathroom_occupied
- binary_sensor.bathroom_occupied
to: "on"
condition:
- condition: state
entity_id: input_boolean.master_bathroom_occupied
entity_id: input_boolean.bathroom_occupied
state: "off"
action:
- action: input_boolean.turn_on
entity_id: input_boolean.master_bathroom_occupied
entity_id: input_boolean.bathroom_occupied
@@ -9,7 +9,7 @@ trigger:
entity_id: input_select.master_bedroom_mode
- platform: state
entity_id: input_boolean.master_bedroom_occupied
entity_id: input_boolean.bedroom_occupied
to: "off"
- platform: state
@@ -48,7 +48,7 @@ condition:
entity_id: input_select.master_bedroom_mode
state: "Off"
- condition: state
entity_id: input_boolean.master_bedroom_occupied
entity_id: input_boolean.bedroom_occupied
state: "off"
- condition: state
entity_id: input_select.master_bedroom_mode
@@ -66,7 +66,7 @@ action:
entity_id: input_select.master_bedroom_mode
state: "Off"
- condition: state
entity_id: input_boolean.master_bedroom_occupied
entity_id: input_boolean.bedroom_occupied
state: "off"
- condition: not
conditions:
@@ -18,17 +18,17 @@ trigger:
to: "off"
- platform: state
entity_id: input_boolean.master_bedroom_occupied
entity_id: input_boolean.bedroom_occupied
to: "on"
- platform: state
id: occupied
entity_id: binary_sensor.master_bedroom_occupied
entity_id: binary_sensor.bedroom_occupied
to: "on"
# - platform: state
# id: motion
# entity_id: group.master_bedroom_motion
# entity_id: binary_sensor.master_bedroom_motion
# to: "on"
condition:
@@ -73,7 +73,7 @@ condition:
- condition: trigger
id: "mode_change"
- condition: state
entity_id: input_boolean.master_bedroom_occupied
entity_id: input_boolean.bedroom_occupied
state: "on"
variables:
@@ -10,7 +10,7 @@ trigger:
- platform: state
entity_id:
- input_boolean.home_occupied
- binary_sensor.master_bedroom_occupied
- binary_sensor.bedroom_occupied
to: "off"
for: "00:05:00"
@@ -29,7 +29,7 @@ condition:
- "unavailable"
- condition: state
entity_id: input_boolean.master_bedroom_occupied
entity_id: input_boolean.bedroom_occupied
state: "on"
- condition: or
@@ -45,7 +45,7 @@ condition:
for:
minutes: 5
- condition: state
entity_id: binary_sensor.master_bedroom_occupied
entity_id: binary_sensor.bedroom_occupied
state: "off"
for:
minutes: 5
@@ -57,7 +57,7 @@ action:
state: "off"
sequence:
- action: homeassistant.turn_off
entity_id: input_boolean.master_bedroom_occupied
entity_id: input_boolean.bedroom_occupied
- conditions:
- condition: not
conditions:
@@ -66,4 +66,4 @@ action:
state: "Manual"
sequence:
- action: homeassistant.turn_off
entity_id: input_boolean.master_bedroom_occupied
entity_id: input_boolean.bedroom_occupied
@@ -5,14 +5,14 @@ mode: restart
trigger:
- platform: state
entity_id:
- binary_sensor.master_bedroom_occupied
- binary_sensor.bedroom_occupied
to: "on"
condition:
- condition: state
entity_id: input_boolean.master_bedroom_occupied
entity_id: input_boolean.bedroom_occupied
state: "off"
action:
- action: input_boolean.turn_on
entity_id: input_boolean.master_bedroom_occupied
entity_id: input_boolean.bedroom_occupied
+5 -5
View File
@@ -56,7 +56,7 @@ triggers:
entity_id: input_boolean.girls_room_occupied
- trigger: state
entity_id: input_boolean.master_bedroom_occupied
entity_id: input_boolean.bedroom_occupied
- trigger: state
entity_id: input_boolean.girls_room_asleep
@@ -210,7 +210,7 @@ action:
- conditions:
- alias: "Master Bedroom not occupied"
condition: state
entity_id: input_boolean.master_bedroom_occupied
entity_id: input_boolean.bedroom_occupied
state: "off"
- alias: "Master Bedroom not asleep"
condition: state
@@ -248,7 +248,7 @@ action:
- conditions:
- alias: "Master Bedroom is occupied"
condition: state
entity_id: input_boolean.master_bedroom_occupied
entity_id: input_boolean.bedroom_occupied
state: "on"
- alias: "Master Bedroom above high"
condition: template
@@ -265,7 +265,7 @@ action:
- conditions:
- alias: "Master Bedroom is occupied"
condition: state
entity_id: input_boolean.master_bedroom_occupied
entity_id: input_boolean.bedroom_occupied
state: "on"
- alias: "Master Bedroom above medium"
condition: template
@@ -282,7 +282,7 @@ action:
- conditions:
- alias: "Master Bedroom is occupied"
condition: state
entity_id: input_boolean.master_bedroom_occupied
entity_id: input_boolean.bedroom_occupied
state: "on"
- alias: "Master Bedroom above low"
condition: template
@@ -1,5 +1,5 @@
# name: "The AC is probably broken again!"
# message: "It is {{states('sensor.front_porch_temperature')}} outside and {{state_attr('climate.thermostat','current_temperature')}} inside. The thermostat is set to {{state_attr('climate.thermostat','target_temp_low')}} and the delta is {{states('sensor.hvac_multisensor_delta')}}"
# message: "It is {{states('sensor.front_porch_hue_motion_sensor_temperature')}} outside and {{state_attr('climate.thermostat','current_temperature')}} inside. The thermostat is set to {{state_attr('climate.thermostat','target_temp_low')}} and the delta is {{states('sensor.hvac_multisensor_delta')}}"
# done_message: "AC is now {{states('sensor.hvac_multisensor_delta')}}"
# entity_id: binary_sensor.hvac_multisensor_delta_too_small_for_too_long
# state: "on"
@@ -1,31 +1,31 @@
platform: 'bayesian'
name: 'Window Open HVAC On'
platform: "bayesian"
name: "Window Open HVAC On"
device_class: problem
prior: 0
probability_threshold: 0.6
observations:
- entity_id: 'group.my_exterior_windows'
- entity_id: "group.my_exterior_windows"
prob_given_true: .5
prob_given_false: 0.01
platform: 'state'
to_state: 'on'
- entity_id: 'group.my_exterior_doors'
platform: "state"
to_state: "on"
- entity_id: "binary_sensor.exterior_doors"
prob_given_true: .5
prob_given_false: 0.01
platform: 'state'
to_state: 'on'
platform: "state"
to_state: "on"
- entity_id: sensor.hvac_action
prob_given_true: .5
prob_given_false: 0.01
platform: 'state'
to_state: 'cooling'
platform: "state"
to_state: "cooling"
- entity_id: sensor.hvac_action
prob_given_true: .5
prob_given_false: 0.01
platform: 'state'
to_state: 'heating'
platform: "state"
to_state: "heating"
- entity_id: sensor.hvac_action
prob_given_true: .01
prob_given_false: 0.01
platform: 'state'
to_state: 'idle'
platform: "state"
to_state: "idle"
@@ -1,19 +1,19 @@
platform: bayesian
unique_id: bayesianbinarysensor.back_yard_occupied
name: Back Yard Occupied
device_class: occupancy
prior: 0.25
probability_threshold: 0.75
observations:
# platform: bayesian
# unique_id: bayesianbinarysensor.back_yard_occupied
# name: Back Yard Occupied
# device_class: occupancy
# prior: 0.25
# probability_threshold: 0.75
# observations:
- entity_id: input_boolean.home_occupied
platform: state
prob_given_true: .01
prob_given_false: 0.01
to_state: 'off'
# - entity_id: input_boolean.home_occupied
# platform: state
# prob_given_true: .01
# prob_given_false: 0.01
# to_state: 'off'
- entity_id: group.back_yard_motion
prob_given_true: .9
prob_given_false: 0.01
platform: state
to_state: 'on'
# - entity_id: binary_sensor.back_yard_motion
# prob_given_true: .9
# prob_given_false: 0.01
# platform: state
# to_state: 'on'
@@ -1,30 +1,30 @@
platform: bayesian
unique_id: bayesianbinarysensor.boys_room_occupied
name: Boys Room Occupied
prior: 0.25
probability_threshold: 0.75
observations:
# platform: bayesian
# unique_id: bayesianbinarysensor.boys_room_occupied
# name: Boys Room Occupied
# prior: 0.25
# probability_threshold: 0.75
# observations:
- entity_id: binary_sensor.white_bed_occupied
platform: state
prob_given_true: .83
prob_given_false: 0.0
to_state: 'on'
# - entity_id: binary_sensor.white_bed_occupied
# platform: state
# prob_given_true: .83
# prob_given_false: 0.0
# to_state: 'on'
- entity_id: binary_sensor.boys_room_person_occupancy
prob_given_true: .4
prob_given_false: 0.0
platform: state
to_state: 'on'
# - entity_id: binary_sensor.boys_room_person_occupancy
# prob_given_true: .4
# prob_given_false: 0.0
# platform: state
# to_state: 'on'
- entity_id: input_boolean.home_occupied
platform: state
prob_given_true: .99
prob_given_false: 0.67
to_state: 'on'
# - entity_id: input_boolean.home_occupied
# platform: state
# prob_given_true: .99
# prob_given_false: 0.67
# to_state: 'on'
- entity_id: group.boys_room_motion
platform: state
prob_given_true: .5
prob_given_false: 0.0
to_state: 'on'
# - entity_id: binary_sensor.boys_room_motion
# platform: state
# prob_given_true: .5
# prob_given_false: 0.0
# to_state: 'on'
@@ -1,25 +1,19 @@
platform: bayesian
unique_id: bayesianbinarysensor.computer_area_occupied
name: Computer Area Occupied
device_class: occupancy
prior: 0.25
probability_threshold: 0.7
observations:
# platform: bayesian
# unique_id: bayesianbinarysensor.computer_area_occupied
# name: Computer Area Occupied
# device_class: occupancy
# prior: 0.25
# probability_threshold: 0.7
# observations:
- entity_id: group.computer_area_motion
prob_given_true: .99
prob_given_false: 0.5
platform: state
to_state: 'on'
# - entity_id: binary_sensor.computer_area_motion
# prob_given_true: .99
# prob_given_false: 0.5
# platform: state
# to_state: 'on'
# - entity_id: binary_sensor.computer_chair_contact_occupied
# prob_given_true: .99
# prob_given_false: 0.5
# platform: state
# to_state: 'on'
- entity_id: input_boolean.home_occupied
platform: state
prob_given_true: .7
prob_given_false: 0.1
to_state: 'on'
# - entity_id: input_boolean.home_occupied
# platform: state
# prob_given_true: .7
# prob_given_false: 0.1
# to_state: 'on'
@@ -1,25 +1,25 @@
platform: bayesian
unique_id: bayesianbinarysensor.dining_room_occupied
name: Dining Room Occupied
device_class: occupancy
prior: 0.25
probability_threshold: 0.7
observations:
# platform: bayesian
# unique_id: bayesianbinarysensor.dining_room_occupied
# name: Dining Room Occupied
# device_class: occupancy
# prior: 0.25
# probability_threshold: 0.7
# observations:
- entity_id: group.dining_room_motion
prob_given_true: .99
prob_given_false: .85
platform: state
to_state: 'on'
# - entity_id: binary_sensor.dining_room_motion
# prob_given_true: .99
# prob_given_false: .85
# platform: state
# to_state: 'on'
- entity_id: binary_sensor.dining_room_person_occupancy
prob_given_true: .99
prob_given_false: .85
platform: state
to_state: 'on'
# - entity_id: binary_sensor.dining_room_person_occupancy
# prob_given_true: .99
# prob_given_false: .85
# platform: state
# to_state: 'on'
- entity_id: input_boolean.home_occupied
platform: state
prob_given_true: .99
prob_given_false: 0.01
to_state: 'on'
# - entity_id: input_boolean.home_occupied
# platform: state
# prob_given_true: .99
# prob_given_false: 0.01
# to_state: 'on'
@@ -1,36 +1,36 @@
platform: bayesian
unique_id: bayesianbinarysensor.entryway_occupied
name: Entryway Occupied
device_class: occupancy
prior: 0.02
probability_threshold: 0.65
observations:
- entity_id: group.entryway_motion
prob_given_true: 0.9
prob_given_false: 0.01
platform: state
to_state: 'on'
# platform: bayesian
# unique_id: bayesianbinarysensor.entryway_occupied
# name: Entryway Occupied
# device_class: occupancy
# prior: 0.02
# probability_threshold: 0.65
# observations:
# - entity_id: binary_sensor.entryway_motion
# prob_given_true: 0.9
# prob_given_false: 0.01
# platform: state
# to_state: 'on'
- entity_id: input_boolean.home_occupied
platform: state
prob_given_true: .98
prob_given_false: 0.85
to_state: 'on'
# - entity_id: input_boolean.home_occupied
# platform: state
# prob_given_true: .98
# prob_given_false: 0.85
# to_state: 'on'
- entity_id: binary_sensor.entryway_person_occupancy
prob_given_true: .02
prob_given_false: 0.0
platform: state
to_state: 'on'
# - entity_id: binary_sensor.entryway_person_occupancy
# prob_given_true: .02
# prob_given_false: 0.0
# platform: state
# to_state: 'on'
- entity_id: binary_sensor.inner_garage_door_contact
prob_given_true: 0.02
prob_given_false: 0.0
platform: state
to_state: 'on'
# - entity_id: binary_sensor.inner_garage_door_contact
# prob_given_true: 0.02
# prob_given_false: 0.0
# platform: state
# to_state: 'on'
- entity_id: binary_sensor.front_door_contact
prob_given_true: 0.02
prob_given_false: 0.0
platform: state
to_state: 'on'
# - entity_id: binary_sensor.front_door_contact
# prob_given_true: 0.02
# prob_given_false: 0.0
# platform: state
# to_state: 'on'
@@ -1,37 +1,32 @@
platform: bayesian
unique_id: bayesianbinarysensor.front_room_occupied
name: Front Room Occupied
device_class: occupancy
prior: 0.5
probability_threshold: 0.75
observations:
# platform: bayesian
# unique_id: bayesianbinarysensor.front_room_occupied
# name: Front Room Occupied
# device_class: occupancy
# prior: 0.5
# probability_threshold: 0.75
# observations:
- entity_id: group.front_room_motion
prob_given_true: .75
prob_given_false: 0.01
platform: state
to_state: 'on'
# - entity_id: binary_sensor.front_room_motion
# prob_given_true: .75
# prob_given_false: 0.01
# platform: state
# to_state: 'on'
- entity_id: media_player.front_room_tv
prob_given_true: .9
prob_given_false: 0.01
platform: state
to_state: 'playing'
# - entity_id: media_player.front_room_tv
# prob_given_true: .9
# prob_given_false: 0.01
# platform: state
# to_state: 'playing'
- entity_id: media_player.front_room_tv
prob_given_true: .5
prob_given_false: 0.01
platform: state
to_state: 'home'
# - entity_id: media_player.front_room_tv
# prob_given_true: .5
# prob_given_false: 0.01
# platform: state
# to_state: 'home'
- entity_id: input_boolean.home_occupied
platform: state
prob_given_true: .01
prob_given_false: 0.01
to_state: 'off'
# - entity_id: input_boolean.home_occupied
# platform: state
# prob_given_true: .01
# prob_given_false: 0.01
# to_state: 'off'
# - entity_id: binary_sensor.front_room_person_occupancy
# prob_given_true: .99
# prob_given_false: 0.01
# platform: state
# to_state: 'on'
@@ -1,19 +1,19 @@
platform: bayesian
unique_id: bayesianbinarysensor.front_yard_occupied
name: Front Yard Occupied
device_class: occupancy
prior: 0.25
probability_threshold: 0.75
observations:
# platform: bayesian
# unique_id: bayesianbinarysensor.front_yard_occupied
# name: Front Yard Occupied
# device_class: occupancy
# prior: 0.25
# probability_threshold: 0.75
# observations:
- entity_id: input_boolean.home_occupied
platform: state
prob_given_true: .01
prob_given_false: 0.01
to_state: 'off'
# - entity_id: input_boolean.home_occupied
# platform: state
# prob_given_true: .01
# prob_given_false: 0.01
# to_state: 'off'
- entity_id: group.front_yard_motion
prob_given_true: .9
prob_given_false: 0.01
platform: state
to_state: 'on'
# - entity_id: binary_sensor.front_yard_motion
# prob_given_true: .9
# prob_given_false: 0.01
# platform: state
# to_state: 'on'
@@ -1,13 +1,13 @@
platform: bayesian
unique_id: bayesianbinarysensor.furnace_room_occupied
name: Furnace Room Occupied
device_class: occupancy
prior: 0.2
probability_threshold: 0.75
observations:
# platform: bayesian
# unique_id: bayesianbinarysensor.furnace_room_occupied
# name: Furnace Room Occupied
# device_class: occupancy
# prior: 0.2
# probability_threshold: 0.75
# observations:
- entity_id: group.furnace_room_motion
prob_given_true: .99
prob_given_false: 0.01
platform: state
to_state: 'on'
# - entity_id: binary_sensor.furnace_room_motion
# prob_given_true: .99
# prob_given_false: 0.01
# platform: state
# to_state: 'on'
@@ -1,67 +1,67 @@
platform: bayesian
unique_id: bayesianbinarysensor.garage_occupied
name: Garage Occupied
device_class: occupancy
prior: 0.4
probability_threshold: 0.6
observations:
# platform: bayesian
# unique_id: bayesianbinarysensor.garage_occupied
# name: Garage Occupied
# device_class: occupancy
# prior: 0.4
# probability_threshold: 0.6
# observations:
- entity_id: group.garage_motion
prob_given_true: .8
prob_given_false: 0.01
platform: state
to_state: 'on'
# - entity_id: binary_sensor.garage_motion
# prob_given_true: .8
# prob_given_false: 0.01
# platform: state
# to_state: 'on'
- entity_id: group.garage_motion
prob_given_true: .5
prob_given_false: 0.5
platform: state
to_state: 'off'
# - entity_id: binary_sensor.garage_motion
# prob_given_true: .5
# prob_given_false: 0.5
# platform: state
# to_state: 'off'
- entity_id: cover.garage_door
prob_given_true: .60
prob_given_false: 0.5
platform: state
to_state: 'open'
# - entity_id: cover.garage_door
# prob_given_true: .60
# prob_given_false: 0.5
# platform: state
# to_state: 'open'
- entity_id: cover.garage_door
prob_given_true: .50
prob_given_false: 0.5
platform: state
to_state: 'closed'
# - entity_id: cover.garage_door
# prob_given_true: .50
# prob_given_false: 0.5
# platform: state
# to_state: 'closed'
- entity_id: binary_sensor.inner_garage_door_contact
prob_given_true: .75
prob_given_false: 0.01
platform: state
to_state: 'on'
# - entity_id: binary_sensor.inner_garage_door_contact
# prob_given_true: .75
# prob_given_false: 0.01
# platform: state
# to_state: 'on'
- entity_id: binary_sensor.inner_garage_door_contact
prob_given_true: .5
prob_given_false: 0.5
platform: state
to_state: 'off'
# - entity_id: binary_sensor.inner_garage_door_contact
# prob_given_true: .5
# prob_given_false: 0.5
# platform: state
# to_state: 'off'
- entity_id: binary_sensor.outer_garage_door_contact
prob_given_true: .75
prob_given_false: 0.5
platform: state
to_state: 'on'
# - entity_id: binary_sensor.outer_garage_door_contact
# prob_given_true: .75
# prob_given_false: 0.5
# platform: state
# to_state: 'on'
- entity_id: binary_sensor.outer_garage_door_contact
prob_given_true: 0.5
prob_given_false: 0.5
platform: state
to_state: 'off'
# - entity_id: binary_sensor.outer_garage_door_contact
# prob_given_true: 0.5
# prob_given_false: 0.5
# platform: state
# to_state: 'off'
- entity_id: binary_sensor.workshop_person_occupancy
prob_given_true: .99
prob_given_false: 0.5
platform: state
to_state: 'on'
# - entity_id: binary_sensor.workshop_person_occupancy
# prob_given_true: .99
# prob_given_false: 0.5
# platform: state
# to_state: 'on'
- entity_id: binary_sensor.workshop_person_occupancy
prob_given_true: 0.5
prob_given_false: 0.5
platform: state
to_state: 'off'
# - entity_id: binary_sensor.workshop_person_occupancy
# prob_given_true: 0.5
# prob_given_false: 0.5
# platform: state
# to_state: 'off'
@@ -1,30 +0,0 @@
platform: bayesian
unique_id: 608783dd-0d18-4e9b-a7f9-3f35eee41fc4
name: Girls Room Occupied
device_class: occupancy
prior: 0.25
probability_threshold: 0.90
observations:
- platform: state
entity_id: binary_sensor.girls_room_motion
to_state: "on"
prob_given_true: .33
prob_given_false: 0.0
- entity_id: binary_sensor.girls_room_person_occupancy
prob_given_true: .33
prob_given_false: 0.0
platform: state
to_state: "on"
- platform: state
entity_id: binary_sensor.black_bed_occupied
to_state: "on"
prob_given_true: .67
prob_given_false: 0.0
- entity_id: input_boolean.home_occupied
platform: state
prob_given_true: .92
prob_given_false: 0.5
to_state: "on"
@@ -1,43 +1,43 @@
platform: bayesian
unique_id: bayesianbinarysensor.great_room_occupied
name: Great Room Occupied
device_class: occupancy
prior: 0.5
probability_threshold: 0.75
observations:
# platform: bayesian
# unique_id: bayesianbinarysensor.great_room_occupied
# name: Great Room Occupied
# device_class: occupancy
# prior: 0.5
# probability_threshold: 0.75
# observations:
- entity_id: group.great_room_motion
platform: state
prob_given_true: .9
prob_given_false: 0.01
to_state: 'on'
# - entity_id: binary_sensor.great_room_motion
# platform: state
# prob_given_true: .9
# prob_given_false: 0.01
# to_state: 'on'
- entity_id: input_boolean.home_occupied
platform: state
prob_given_true: .01
prob_given_false: 0.01
to_state: 'off'
# - entity_id: input_boolean.home_occupied
# platform: state
# prob_given_true: .01
# prob_given_false: 0.01
# to_state: 'off'
- entity_id: media_player.downstairs_roku
platform: state
prob_given_true: .9
prob_given_false: 0.01
to_state: 'playing'
# - entity_id: media_player.downstairs_roku
# platform: state
# prob_given_true: .9
# prob_given_false: 0.01
# to_state: 'playing'
- entity_id: media_player.downstairs_roku
platform: state
prob_given_true: .9
prob_given_false: 0.01
to_state: 'paused'
# - entity_id: media_player.downstairs_roku
# platform: state
# prob_given_true: .9
# prob_given_false: 0.01
# to_state: 'paused'
- entity_id: media_player.downstairs_roku
platform: state
prob_given_true: .5
prob_given_false: 0.01
to_state: 'idle'
# - entity_id: media_player.downstairs_roku
# platform: state
# prob_given_true: .5
# prob_given_false: 0.01
# to_state: 'idle'
- entity_id: binary_sensor.great_room_person_occupancy
prob_given_true: .99
prob_given_false: 0.01
platform: state
to_state: 'on'
# - entity_id: binary_sensor.great_room_person_occupancy
# prob_given_true: .99
# prob_given_false: 0.01
# platform: state
# to_state: 'on'
@@ -1,25 +1,25 @@
platform: bayesian
unique_id: bayesianbinarysensor.kitchen_occupied
name: Kitchen Occupied
device_class: occupancy
prior: 0.25
probability_threshold: 0.7
observations:
# platform: bayesian
# unique_id: bayesianbinarysensor.kitchen_occupied
# name: Kitchen Occupied
# device_class: occupancy
# prior: 0.25
# probability_threshold: 0.7
# observations:
- entity_id: group.kitchen_motion
prob_given_true: .99
prob_given_false: .85
platform: state
to_state: 'on'
# - entity_id: binary_sensor.kitchen_motion
# prob_given_true: .99
# prob_given_false: .85
# platform: state
# to_state: 'on'
- entity_id: binary_sensor.kitchen_person_occupancy
prob_given_true: .99
prob_given_false: .85
platform: state
to_state: 'on'
# - entity_id: binary_sensor.kitchen_person_occupancy
# prob_given_true: .99
# prob_given_false: .85
# platform: state
# to_state: 'on'
- entity_id: input_boolean.home_occupied
platform: state
prob_given_true: .99
prob_given_false: 0.01
to_state: 'on'
# - entity_id: input_boolean.home_occupied
# platform: state
# prob_given_true: .99
# prob_given_false: 0.01
# to_state: 'on'
@@ -1,19 +1,19 @@
platform: bayesian
unique_id: bayesianbinarysensor.mancave_occupied
name: Mancave Occupied
device_class: occupancy
prior: 0.5
probability_threshold: 0.75
observations:
# platform: bayesian
# unique_id: bayesianbinarysensor.mancave_occupied
# name: Mancave Occupied
# device_class: occupancy
# prior: 0.5
# probability_threshold: 0.75
# observations:
- entity_id: group.mancave_motion
prob_given_true: .9
prob_given_false: 0.01
platform: state
to_state: 'on'
# - entity_id: binary_sensor.mancave_motion
# prob_given_true: .9
# prob_given_false: 0.01
# platform: state
# to_state: 'on'
- entity_id: input_boolean.home_occupied
platform: state
prob_given_true: .01
prob_given_false: 0.01
to_state: 'off'
# - entity_id: input_boolean.home_occupied
# platform: state
# prob_given_true: .01
# prob_given_false: 0.01
# to_state: 'off'
@@ -1,37 +1,25 @@
platform: bayesian
unique_id: bayesianbinarysensor.master_bathroom_occupied
name: Master Bathroom Occupied
device_class: occupancy
prior: 0.2
probability_threshold: 0.75
observations:
# platform: bayesian
# unique_id: bayesianbinarysensor.master_bathroom_occupied
# name: Master Bathroom Occupied
# device_class: occupancy
# prior: 0.2
# probability_threshold: 0.75
# observations:
- entity_id: group.master_bathroom_motion
prob_given_true: .99
prob_given_false: 0.05
platform: state
to_state: 'on'
# - entity_id: binary_sensor.master_bathroom_motion
# prob_given_true: .99
# prob_given_false: 0.05
# platform: state
# to_state: 'on'
# - entity_id: binary_sensor.bathroom_getting_humid
# prob_given_true: .75
# prob_given_false: 0.01
# platform: state
# to_state: 'on'
# - entity_id: binary_sensor.bathroom_multisensor_too_humid
# prob_given_true: .99
# prob_given_false: 0.05
# platform: state
# to_state: 'on'
- entity_id: binary_sensor.bathroom_multisensor_too_humid
prob_given_true: .99
prob_given_false: 0.05
platform: state
to_state: 'on'
- entity_id: input_boolean.home_occupied
platform: state
prob_given_true: .99
prob_given_false: 0.01
to_state: 'on'
# - entity_id: input_boolean.home_occupied
# platform: state
# prob_given_true: .01
# prob_given_false: 0.5
# to_state: 'off'
# - entity_id: input_boolean.home_occupied
# platform: state
# prob_given_true: .99
# prob_given_false: 0.01
# to_state: 'on'
@@ -1,31 +1,31 @@
platform: bayesian
unique_id: bayesianbinarysensor.master_bedroom_occupied
name: Master Bedroom Occupied
device_class: occupancy
prior: 0.25
probability_threshold: 0.75
observations:
# platform: bayesian
# unique_id: bayesianbinarysensor.master_bedroom_occupied
# name: Master Bedroom Occupied
# device_class: occupancy
# prior: 0.25
# probability_threshold: 0.75
# observations:
- entity_id: binary_sensor.bed_presence_c175a4_bed_occupied_either
platform: state
prob_given_true: .83
prob_given_false: 0.0
to_state: 'on'
# - entity_id: binary_sensor.bed_presence_c175a4_bed_occupied_either
# platform: state
# prob_given_true: .83
# prob_given_false: 0.0
# to_state: 'on'
- entity_id: binary_sensor.master_bedroom_person_occupancy
prob_given_true: .4
prob_given_false: 0.0
platform: state
to_state: 'on'
# - entity_id: binary_sensor.master_bedroom_person_occupancy
# prob_given_true: .4
# prob_given_false: 0.0
# platform: state
# to_state: 'on'
- entity_id: input_boolean.home_occupied
platform: state
prob_given_true: .99
prob_given_false: 0.67
to_state: 'on'
# - entity_id: input_boolean.home_occupied
# platform: state
# prob_given_true: .99
# prob_given_false: 0.67
# to_state: 'on'
- entity_id: group.master_bedroom_motion
platform: state
prob_given_true: .5
prob_given_false: 0.0
to_state: 'on'
# - entity_id: binary_sensor.master_bedroom_motion
# platform: state
# prob_given_true: .5
# prob_given_false: 0.0
# to_state: 'on'
@@ -1,13 +1,13 @@
platform: bayesian
unique_id: bayesianbinarysensor.storage_room_occupied
name: Storage Room Occupied
device_class: occupancy
prior: 0.5
probability_threshold: 0.75
observations:
# platform: bayesian
# unique_id: bayesianbinarysensor.storage_room_occupied
# name: Storage Room Occupied
# device_class: occupancy
# prior: 0.5
# probability_threshold: 0.75
# observations:
- entity_id: binary_sensor.storage_room_door_contact
prob_given_true: .4
prob_given_false: 0.01
platform: state
to_state: 'on'
# - entity_id: binary_sensor.storage_room_door_contact
# prob_given_true: .4
# prob_given_false: 0.01
# platform: state
# to_state: 'on'
@@ -1,31 +0,0 @@
platform: bayesian
unique_id: bayesianbinarysensor.utility_room_occupied
name: Utility Room Occupied
device_class: occupancy
prior: 0.2
probability_threshold: 0.75
observations:
- entity_id: group.utility_room_motion
prob_given_true: .99
prob_given_false: 0.05
platform: state
to_state: 'on'
# - entity_id: binary_sensor.utility_room_getting_humid
# prob_given_true: .75
# prob_given_false: 0.01
# platform: state
# to_state: 'on'
- entity_id: binary_sensor.utility_room_multisensor_too_humid
prob_given_true: .99
prob_given_false: 0.05
platform: state
to_state: 'on'
- entity_id: input_boolean.home_occupied
platform: state
prob_given_true: .99
prob_given_false: 0.01
to_state: 'on'
@@ -1,2 +1,2 @@
name: Back Yard
icon: mdi:slide
# name: Back Yard
# icon: mdi:slide
@@ -1 +0,0 @@
name: Boys Room Light Cycle
@@ -1,2 +1,2 @@
name: Boys Room
icon: mdi:earth
# name: Boys Room
# icon: mdi:earth
@@ -1,2 +1,2 @@
name: Computer Area
icon: mdi:desktop-classic
# name: Computer Area
# icon: mdi:desktop-classic
@@ -1,2 +1,2 @@
name: Deck
icon: mdi:fence
# name: Deck
# icon: mdi:fence
@@ -1,2 +1,2 @@
name: Dining Room
icon: mdi:table-chair
# name: Dining Room
# icon: mdi:table-chair
@@ -1,2 +1,2 @@
name: Entryway
icon: mdi:ceiling-light
# name: Entryway
# icon: mdi:ceiling-light
@@ -1,2 +1,2 @@
name: Front Porch
icon: mdi:outdoor-lamp
# name: Front Porch
# icon: mdi:outdoor-lamp
@@ -1,2 +1,2 @@
name: Front Room
icon: mdi:television
# name: Front Room
# icon: mdi:television
@@ -1,2 +1,2 @@
name: Front Yard
icon: mdi:grass
# name: Front Yard
# icon: mdi:grass
@@ -1,2 +1,2 @@
name: Furnace Room
icon: mdi:hvac
# name: Furnace Room
# icon: mdi:hvac
@@ -1,2 +1,2 @@
name: Garage
icon: mdi:garage
# name: Garage
# icon: mdi:garage
@@ -1,2 +0,0 @@
name: Girls Room Automatic Lights
icon: mdi:lightbulb-auto
@@ -1,2 +1,2 @@
name: Girls Room Closet
icon: mdi:hanger
# name: Girls Room Closet
# icon: mdi:hanger
@@ -1 +0,0 @@
name: Girls Room Light Cycle
@@ -1,2 +1,2 @@
name: Girls Room
icon: mdi:teddy-bear
# name: Girls Room
# icon: mdi:teddy-bear
@@ -1,2 +1,2 @@
name: Great Room
icon: mdi:microsoft-xbox-controller
# name: Great Room
# icon: mdi:microsoft-xbox-controller
@@ -1,2 +1,2 @@
name: Kitchen
icon: mdi:fridge
# name: Kitchen
# icon: mdi:fridge
@@ -1,2 +1,2 @@
name: Mancave
icon: mdi:human-male
# name: Mancave
# icon: mdi:human-male
@@ -1,2 +1,2 @@
name: Master Bathroom
icon: mdi:shower
# name: Master Bathroom
# icon: mdi:shower
@@ -1,2 +1,2 @@
name: Master Bedroom Closet
icon: mdi:hanger
# name: Master Bedroom Closet
# icon: mdi:hanger
@@ -1,2 +1,2 @@
name: Master Bedroom
icon: mdi:bed-king
# name: Master Bedroom
# icon: mdi:bed-king
@@ -1,2 +1,2 @@
name: Utility Room
icon: mdi:washing-machine
# name: Utility Room
# icon: mdi:washing-machine
@@ -4,8 +4,8 @@ sensor:
name: Lowest Hue Device Battery
type: min
entity_ids:
- sensor.bar_battery
- sensor.entryway_battery
- sensor.front_room_battery
- sensor.front_porch_battery
- sensor.deck_battery
- sensor.bar_hue_motion_sensor_battery
- sensor.entryway_hue_motion_sensor_battery
- sensor.front_room_hue_motion_sensor_battery
- sensor.front_porch_hue_motion_sensor_battery
- sensor.deck_hue_motion_sensor_battery
+99 -55
View File
@@ -25,6 +25,62 @@ script:
execute_cast_dropdown:
alias: Press to execute
sequence:
- variables:
media_player: >
{% if is_state('input_select.cast_to_screen_dropdown', 'Front Room Display') %}
media_player.front_room_hub
{% elif is_state('input_select.cast_to_screen_dropdown', 'Girls Room Hub') %}
media_player.girls_room_hub
{% elif is_state('input_select.cast_to_screen_dropdown', 'Computer Area Hub') %}
media_player.computer_area_hub
{% endif %}
camera: >
{% if is_state('input_select.camera_dropdown', 'Boys Room') %}
media-source://camera/camera.frigate_cam01
{% elif is_state('input_select.camera_dropdown', 'Kitchen') %}
media-source://camera/camera.frigate_cam12
{% elif is_state('input_select.camera_dropdown', 'Computer Area') %}
media-source://camera/camera.frigate_cam03
{% elif is_state('input_select.camera_dropdown', 'Garage') %}
media-source://camera/camera.frigate_cam04
{% elif is_state('input_select.camera_dropdown', 'Master Bedroom') %}
media-source://camera/camera.frigate_cam06
{% elif is_state('input_select.camera_dropdown', 'Girls Room') %}
media-source://camera/camera.frigate_cam08
{% elif is_state('input_select.camera_dropdown', 'Back Yard') %}
media-source://camera/camera.frigate_cam12
{% elif is_state('input_select.camera_dropdown', 'Front Yard') %}
media-source://camera/camera.frigate_cam18
{% elif is_state('input_select.camera_dropdown', 'Front Door') %}
media-source://camera/camera.frigate_cam19
{% elif is_state('input_select.camera_dropdown', 'Front Room') %}
media-source://camera/camera.frigate_cam12
{% endif %}
- action: media_player.volume_set
data:
entity_id: "{{ media_player }}"
volume_level: 0.100
- action: media_player.play_media
target:
entity_id: "{{ media_player }}"
data:
media:
media_content_id: "{{ camera }}"
media_content_type: image/jpeg
# metadata:
# title: Frigate Cam01
# thumbnail: /api/camera_proxy/camera.frigate_cam01
# media_class: video
# children_media_class: null
# navigateIds:
# - {}
# - media_content_type: app
# media_content_id: media-source://camera
# browse_entity_id: media_player.front_room_hub
# - action: media_player.play_media
# target:
# entity_id: >
@@ -58,18 +114,6 @@ script:
# {% endif %}
# media_content_type: 'image/jpeg'
- action: media_player.volume_set
data:
entity_id: >
{% if is_state('input_select.cast_to_screen_dropdown', 'Front Room Display') %}
media_player.front_room_hub
{% elif is_state('input_select.cast_to_screen_dropdown', 'Girls Room Hub') %}
media_player.girls_room_hub
{% elif is_state('input_select.cast_to_screen_dropdown', 'Computer Area Hub') %}
media_player.computer_area_hub
{% endif %}
volume_level: 0.100
# - action: webrtc.dash_cast
# data:
# entity_id: >
@@ -82,60 +126,60 @@ script:
# {% endif %}
# url: >
# {% if is_state('input_select.camera_dropdown', 'Boys Room') %}
# rtsp://192.168.1.11:8554/cam01_sub_opus
# rtsp://192.168.1.11:8554/cam01_sub
# {% elif is_state('input_select.camera_dropdown', 'Kitchen') %}
# rtsp://192.168.1.11:8554/cam12_sub_opus
# rtsp://192.168.1.11:8554/cam12_sub
# {% elif is_state('input_select.camera_dropdown', 'Computer Area') %}
# rtsp://192.168.1.11:8554/cam03_sub_opus
# rtsp://192.168.1.11:8554/cam03_sub
# {% elif is_state('input_select.camera_dropdown', 'Garage') %}
# rtsp://192.168.1.11:8554/cam04_sub_opus
# rtsp://192.168.1.11:8554/cam04_sub
# {% elif is_state('input_select.camera_dropdown', 'Master Bedroom') %}
# rtsp://192.168.1.11:8554/cam06_sub_opus
# rtsp://192.168.1.11:8554/cam06_sub
# {% elif is_state('input_select.camera_dropdown', 'Girls Room') %}
# rtsp://192.168.1.11:8554/cam08_sub_opus
# rtsp://192.168.1.11:8554/cam08_sub
# {% elif is_state('input_select.camera_dropdown', 'Back Yard') %}
# rtsp://192.168.1.11:8554/cam14_sub_opus
# rtsp://192.168.1.11:8554/cam14_sub
# {% elif is_state('input_select.camera_dropdown', 'Front Yard') %}
# rtsp://192.168.1.11:8554/cam18_sub_opus
# rtsp://192.168.1.11:8554/cam18_sub
# {% elif is_state('input_select.camera_dropdown', 'Front Door') %}
# rtsp://192.168.1.11:8554/cam19_sub_opus
# rtsp://192.168.1.11:8554/cam19_sub
# {% elif is_state('input_select.camera_dropdown', 'Front Room') %}
# rtsp://192.168.1.11:8554/cam13_sub_opus
# rtsp://192.168.1.11:8554/cam13_sub
# {% endif %}
# force: true
# extra:
# mode: webrtc
- action: cast.show_lovelace_view
data:
entity_id: >
{% if is_state('input_select.cast_to_screen_dropdown', 'Front Room Display') %}
media_player.front_room_hub
{% elif is_state('input_select.cast_to_screen_dropdown', 'Girls Room Hub') %}
media_player.girls_room_hub
{% elif is_state('input_select.cast_to_screen_dropdown', 'Computer Area Hub') %}
media_player.computer_area_hub
{% endif %}
dashboard_path: camera-casting-yml
view_path: >
{% if is_state('input_select.camera_dropdown', 'Boys Room') %}
boys-room-camera
{% elif is_state('input_select.camera_dropdown', 'Kitchen') %}
kitchen-camera
{% elif is_state('input_select.camera_dropdown', 'Computer Area') %}
computer-area-camera
{% elif is_state('input_select.camera_dropdown', 'Garage') %}
garage-camera
{% elif is_state('input_select.camera_dropdown', 'Master Bedroom') %}
mbr-camera
{% elif is_state('input_select.camera_dropdown', 'Girls Room') %}
girls-room-camera
{% elif is_state('input_select.camera_dropdown', 'Back Yard') %}
back-yard-camera
{% elif is_state('input_select.camera_dropdown', 'Front Yard') %}
front-yard-camera
{% elif is_state('input_select.camera_dropdown', 'Front Door') %}
front-porch-camera
{% elif is_state('input_select.camera_dropdown', 'Front Room') %}
front-room-camera
{% endif %}
# - action: cast.show_lovelace_view
# data:
# entity_id: >
# {% if is_state('input_select.cast_to_screen_dropdown', 'Front Room Display') %}
# media_player.front_room_hub
# {% elif is_state('input_select.cast_to_screen_dropdown', 'Girls Room Hub') %}
# media_player.girls_room_hub
# {% elif is_state('input_select.cast_to_screen_dropdown', 'Computer Area Hub') %}
# media_player.computer_area_hub
# {% endif %}
# dashboard_path: casting-yml
# view_path: >
# {% if is_state('input_select.camera_dropdown', 'Boys Room') %}
# boys-room-camera
# {% elif is_state('input_select.camera_dropdown', 'Kitchen') %}
# kitchen-camera
# {% elif is_state('input_select.camera_dropdown', 'Computer Area') %}
# computer-area-camera
# {% elif is_state('input_select.camera_dropdown', 'Garage') %}
# garage-camera
# {% elif is_state('input_select.camera_dropdown', 'Master Bedroom') %}
# mbr-camera
# {% elif is_state('input_select.camera_dropdown', 'Girls Room') %}
# girls-room-camera
# {% elif is_state('input_select.camera_dropdown', 'Back Yard') %}
# back-yard-camera
# {% elif is_state('input_select.camera_dropdown', 'Front Yard') %}
# front-yard-camera
# {% elif is_state('input_select.camera_dropdown', 'Front Door') %}
# front-porch-camera
# {% elif is_state('input_select.camera_dropdown', 'Front Room') %}
# front-room-camera
# {% endif %}
-1
View File
@@ -1 +0,0 @@
fan: !include_dir_list ../fans
+23 -11
View File
@@ -52,25 +52,37 @@ google_assistant:
- Computer Camera
room: Computer Area
camera.frigate_cam13:
name: Front Room Camera
camera.frigate_cam12:
name: Kitchen Camera
expose: true
aliases:
- Front Room Cam
room: Front Room
- Kitchen Cam
room: Kitchen
camera.frigate_cam08:
name: Nursery Camera
name: Girls Room Camera
expose: true
aliases:
- Baby Cam
- Baby Monitor
- Kids Cam
- Kids Room Camera
- Nursery Cam
- Baby Monitor Cam
- Bridgets Cam
- Baby Monitor Camera
room: Nursery
room: Girls Room
camera.frigate_cam01:
name: Boys Room Camera
expose: true
aliases:
- Blue Room Camera
- Emmetts Cam
room: Boys Room
camera.frigate_cam18:
name: Front Yard Camera
expose: true
aliases:
- Driveway Camera
- Out Front Cam
room: Front Yard
input_boolean.announcement_pending:
name: Announcement Pending
+3 -3
View File
@@ -6,7 +6,7 @@ sensor:
- sensor.master_bedroom_multisensor_air_temperature
- sensor.girls_room_multisensor_air_temperature
- sensor.thermostat_temperature
- sensor.bar_temperature
- sensor.bar_hue_motion_sensor_temperature
- sensor.front_room_thermostat_temperature
- sensor.kitchen_multisensor_air_temperature
@@ -17,7 +17,7 @@ sensor:
- sensor.master_bedroom_multisensor_air_temperature
- sensor.girls_room_multisensor_air_temperature
- sensor.thermostat_temperature
- sensor.bar_temperature
- sensor.bar_hue_motion_sensor_temperature
- sensor.front_room_thermostat_temperature
- sensor.kitchen_multisensor_air_temperature
@@ -28,7 +28,7 @@ sensor:
# - sensor.master_bedroom_multisensor_air_temperature
# - sensor.girls_room_multisensor_air_temperature
# - sensor.thermostat_temperature
# - sensor.bar_temperature
# - sensor.bar_hue_motion_sensor_temperature
# - sensor.front_room_thermostat_temperature
# - sensor.kitchen_multisensor_air_temperature
+3 -3
View File
@@ -32,12 +32,12 @@ lovelace:
icon: mdi:camcorder
show_in_sidebar: false
filename: ui-cams.yaml
camera-casting-yml:
casting-yml:
mode: yaml
title: Camera Casting
title: Casting
icon: mdi:cast
show_in_sidebar: false
filename: ui-camera-cast.yaml
filename: ui-cast.yaml
details-yml:
mode: yaml
title: Details
+16 -16
View File
@@ -65,7 +65,7 @@ template:
entity_id: input_number.deck_light_level_trigger
- platform: state
entity_id: sensor.deck_light_level
entity_id: sensor.deck_hue_motion_sensor_illuminance
binary_sensor:
- name: "Deck Naturally Lit"
@@ -75,15 +75,15 @@ template:
delay_off:
seconds: 3
state: >
{{ states('sensor.deck_light_level') | float(default=0) > states('input_number.deck_light_level_trigger') | float(default=0) }}
{{ states('sensor.deck_hue_motion_sensor_illuminance') | float(default=0) > states('input_number.deck_light_level_trigger') | float(default=0) }}
icon: >
{% if states('sensor.deck_light_level') | float(default=0) > states('input_number.deck_light_level_trigger') | float(default=0) %}
{% if states('sensor.deck_hue_motion_sensor_illuminance') | float(default=0) > states('input_number.deck_light_level_trigger') | float(default=0) %}
mdi:weather-sunny
{% else %}
mdi:weather-sunny-off
{% endif %}
attributes:
illuminance: "{{ states('sensor.deck_light_level') | float(default=0) }}"
illuminance: "{{ states('sensor.deck_hue_motion_sensor_illuminance') | float(default=0) }}"
trigger: "{{ states('input_number.deck_light_level_trigger') | float(default=0) }}"
- trigger:
@@ -128,7 +128,7 @@ template:
entity_id: input_number.entryway_light_level_trigger
- platform: state
entity_id: sensor.entryway_light_level
entity_id: sensor.entryway_hue_motion_sensor_illuminance
binary_sensor:
- name: "Entryway Naturally Lit"
@@ -138,15 +138,15 @@ template:
delay_off:
seconds: 3
state: >
{{ states('sensor.entryway_light_level') | float(default=0) > states('input_number.entryway_light_level_trigger') | float(default=0) }}
{{ states('sensor.entryway_hue_motion_sensor_illuminance') | float(default=0) > states('input_number.entryway_light_level_trigger') | float(default=0) }}
icon: >
{% if states('sensor.entryway_light_level') | float(default=0) > states('input_number.entryway_light_level_trigger') | float(default=0) %}
{% if states('sensor.entryway_hue_motion_sensor_illuminance') | float(default=0) > states('input_number.entryway_light_level_trigger') | float(default=0) %}
mdi:weather-sunny
{% else %}
mdi:weather-sunny-off
{% endif %}
attributes:
illuminance: "{{ states('sensor.entryway_light_level') | float(default=0) }}"
illuminance: "{{ states('sensor.entryway_hue_motion_sensor_illuminance') | float(default=0) }}"
trigger: "{{ states('input_number.entryway_light_level_trigger') | float(default=0) }}"
- trigger:
@@ -157,7 +157,7 @@ template:
entity_id: input_number.front_porch_light_level_trigger
- platform: state
entity_id: sensor.front_porch_light_level
entity_id: sensor.front_porch_hue_motion_sensor_illuminance
binary_sensor:
- name: "Front Porch Naturally Lit"
@@ -167,15 +167,15 @@ template:
delay_off:
seconds: 3
state: >
{{ states('sensor.front_porch_light_level') | float(default=0) > states('input_number.front_porch_light_level_trigger') | float(default=0) }}
{{ states('sensor.front_porch_hue_motion_sensor_illuminance') | float(default=0) > states('input_number.front_porch_light_level_trigger') | float(default=0) }}
icon: >
{% if states('sensor.front_porch_light_level') | float(default=0) > states('input_number.front_porch_light_level_trigger') | float(default=0) %}
{% if states('sensor.front_porch_hue_motion_sensor_illuminance') | float(default=0) > states('input_number.front_porch_light_level_trigger') | float(default=0) %}
mdi:weather-sunny
{% else %}
mdi:weather-sunny-off
{% endif %}
attributes:
illuminance: "{{ states('sensor.front_porch_light_level') | float(default=0) }}"
illuminance: "{{ states('sensor.front_porch_hue_motion_sensor_illuminance') | float(default=0) }}"
trigger: "{{ states('input_number.front_porch_light_level_trigger') | float(default=0) }}"
- trigger:
@@ -186,7 +186,7 @@ template:
entity_id: input_number.front_room_light_level_trigger
- platform: state
entity_id: sensor.front_room_light_level
entity_id: sensor.front_room_hue_motion_sensor_illuminance
binary_sensor:
- name: "Front Room Naturally Lit"
@@ -196,15 +196,15 @@ template:
delay_off:
seconds: 3
state: >
{{ states('sensor.front_room_light_level') | float(default=0) > states('input_number.front_room_light_level_trigger') | float(default=0) }}
{{ states('sensor.front_room_hue_motion_sensor_illuminance') | float(default=0) > states('input_number.front_room_light_level_trigger') | float(default=0) }}
icon: >
{% if states('sensor.front_room_light_level') | float(default=0) > states('input_number.front_room_light_level_trigger') | float(default=0) %}
{% if states('sensor.front_room_hue_motion_sensor_illuminance') | float(default=0) > states('input_number.front_room_light_level_trigger') | float(default=0) %}
mdi:weather-sunny
{% else %}
mdi:weather-sunny-off
{% endif %}
attributes:
illuminance: "{{ states('sensor.front_room_light_level') | float(default=0) }}"
illuminance: "{{ states('sensor.front_room_hue_motion_sensor_illuminance') | float(default=0) }}"
trigger: "{{ states('input_number.front_room_light_level_trigger') | float(default=0) }}"
- trigger:
@@ -212,9 +212,9 @@ template:
minutes: 5
state: >-
{% if is_state('binary_sensor.patio_door_contact', 'on') or is_state('group.my_exterior_windows', 'on') or is_state('binary_sensor.front_door_contact', 'on') %}
{% if is_state_attr('climate.thermostat', 'hvac_action', 'cooling') and states('sensor.master_bedroom_multisensor_air_temperature') | int < states('sensor.front_porch_temperature') | int %}
{% if is_state_attr('climate.thermostat', 'hvac_action', 'cooling') and states('sensor.master_bedroom_multisensor_air_temperature') | int < states('sensor.front_porch_hue_motion_sensor_temperature') | int %}
{{'true'}}
{% elif is_state_attr('climate.thermostat', 'hvac_action', 'heating') and states('sensor.master_bedroom_multisensor_air_temperature') | int > states('sensor.front_porch_temperature') | int %}
{% elif is_state_attr('climate.thermostat', 'hvac_action', 'heating') and states('sensor.master_bedroom_multisensor_air_temperature') | int > states('sensor.front_porch_hue_motion_sensor_temperature') | int %}
{{'true'}}
{% else %}
{{'false'}}
@@ -297,7 +297,7 @@ template:
default_entity_id: binary_sensor.temp_just_right
name: Temp Just Right
state: >-
{% if states('sensor.front_porch_temperature') | float(default=0) > 50 and states('sensor.front_porch_temperature') | float(default=0) < 90 %}
{% if states('sensor.front_porch_hue_motion_sensor_temperature') | float(default=0) > 50 and states('sensor.front_porch_hue_motion_sensor_temperature') | float(default=0) < 90 %}
{{'true'}}
{% else %}
{{ 'false' }}
@@ -306,17 +306,17 @@ template:
- unique_id: templatebinarysensor.is_dark
default_entity_id: binary_sensor.is_dark
name: Is Dark
state: "{{ (states('sensor.front_porch_light_level') | int(0) < states('input_number.is_dark') | int(0)) or (states('sensor.front_porch_light_level') | int(0) < 30 and is_state('light.front_porch_overhead','on')) }}"
state: "{{ (states('sensor.front_porch_hue_motion_sensor_illuminance') | int(0) < states('input_number.is_dark') | int(0)) or (states('sensor.front_porch_hue_motion_sensor_illuminance') | int(0) < 30 and is_state('light.front_porch_overhead','on')) }}"
- unique_id: templatebinarysensor.is_dim
default_entity_id: binary_sensor.is_dim
name: Is Dim
state: "{{ states('sensor.front_porch_light_level') | int(0) >= states('input_number.is_dark') | int(0) and states('sensor.front_porch_light_level') | int(0) < states('input_number.is_daylight') | int(0) }}"
state: "{{ states('sensor.front_porch_hue_motion_sensor_illuminance') | int(0) >= states('input_number.is_dark') | int(0) and states('sensor.front_porch_hue_motion_sensor_illuminance') | int(0) < states('input_number.is_daylight') | int(0) }}"
- unique_id: templatebinarysensor.is_daylight
default_entity_id: binary_sensor.is_daylight
name: Is Daylight
state: "{{ states('sensor.front_porch_light_level') | int(0) >= states('input_number.is_daylight') | int(0) }}"
state: "{{ states('sensor.front_porch_hue_motion_sensor_illuminance') | int(0) >= states('input_number.is_daylight') | int(0) }}"
- unique_id: templatebinarysensor.garage_open_nobody_home
default_entity_id: binary_sensor.garage_open_nobody_home
@@ -515,7 +515,7 @@ template:
- unique_id: templatebinarysensor.dining_room_light_left_on
default_entity_id: binary_sensor.dining_room_light_left_on
name: Dining Room Light Left On
state: "{{ is_state('light.dining_room_switch','on') and is_state('input_boolean.dining_room_occupied','off') }}"
state: "{{ is_state('light.dining_room','on') and is_state('input_boolean.dining_room_occupied','off') }}"
delay_on:
seconds: 30
@@ -557,14 +557,14 @@ template:
- unique_id: templatebinarysensor.master_bathroom_light_left_on
default_entity_id: binary_sensor.master_bathroom_light_left_on
name: Master Bathroom Light Left On
state: "{{ is_state('light.master_bathroom_hue','on') and is_state('input_boolean.master_bathroom_occupied','off') }}"
state: "{{ is_state('light.master_bathroom_hue','on') and is_state('input_boolean.bathroom_occupied','off') }}"
delay_on:
seconds: 30
- unique_id: templatebinarysensor.master_bedroom_light_left_on
default_entity_id: binary_sensor.master_bedroom_light_left_on
name: Master Bedroom Light Left On
state: "{{ is_state('light.master_bedroom_hue','on') and is_state('input_boolean.master_bedroom_occupied','off') }}"
state: "{{ is_state('light.master_bedroom_hue','on') and is_state('input_boolean.bedroom_occupied','off') }}"
delay_on:
seconds: 30
+25 -25
View File
@@ -1,27 +1,27 @@
template:
- fan:
- unique_id: template_fan.utility_room_vent
turn_on:
- action: switch.turn_on
entity_id:
- switch.utility_room_vent_switch
turn_off:
- action: switch.turn_off
entity_id:
- switch.utility_room_vent_switch
default_entity_id: fan.utility_room_vent
name: Utility Room Vent
state: "{{ states('switch.utility_room_vent_switch') }}"
- fan:
- unique_id: template_fan.utility_room_vent
turn_on:
- action: switch.turn_on
entity_id:
- switch.utility_room_vent_switch
turn_off:
- action: switch.turn_off
entity_id:
- switch.utility_room_vent_switch
default_entity_id: fan.utility_room_vent
name: Utility Room Vent
state: "{{ states('switch.utility_room_vent_switch') }}"
- unique_id: templatefan.bathroom_vent
turn_on:
- action: switch.turn_on
entity_id:
- switch.bathroom_vent_switch
turn_off:
- action: switch.turn_off
entity_id:
- switch.bathroom_vent_switch
default_entity_id: fan.bathroom_vent
name: Bathroom Vent
state: "{{ states('switch.bathroom_vent_switch') }}"
- unique_id: templatefan.bathroom_vent
turn_on:
- action: switch.turn_on
entity_id:
- switch.master_bathroom_vent_switch
turn_off:
- action: switch.turn_off
entity_id:
- switch.master_bathroom_vent_switch
default_entity_id: fan.bathroom_vent
name: Bathroom Vent
state: "{{ states('switch.master_bathroom_vent_switch') }}"
+2 -2
View File
@@ -213,8 +213,8 @@ template:
- unique_id: temlatesensor.open_external_doors_count
default_entity_id: sensor.open_external_doors_count
name: Open External Doors
state: "{{ (expand('group.my_exterior_doors') | selectattr('state', 'eq', 'on')) | list | count |int(default=0) }}"
icon: "{{ iif(is_state('group.my_exterior_windows', 'on'), 'mdi:door-open','mdi:door') }}"
state: "{{ (expand('binary_sensor.exterior_doors') | selectattr('state', 'eq', 'on')) | list | count |int(default=0) }}"
icon: "{{ iif(is_state('binary_sensor.exterior_doors', 'on'), 'mdi:door-open','mdi:door') }}"
- unique_id: temlatesensor.frigate_person_count
default_entity_id: sensor.frigate_person_count
@@ -31,20 +31,20 @@ template:
data:
type: daily
target:
entity_id: weather.forecast_home
entity_id: weather.home
response_variable: daily
- action: weather.get_forecasts
data:
type: hourly
target:
entity_id: weather.forecast_home
entity_id: weather.home
response_variable: hourly
binary_sensor:
- name: "Impending Rain"
unique_id: templatebinarysensor.impending_rain
availability: "{{ states('weather.forecast_home') not in ['unknown', 'unavailable'] }}"
availability: "{{ states('weather.home') not in ['unknown', 'unavailable'] }}"
icon: mdi:weather-rainy
# This looks too far into the future. Cutting it down a bit
state: >-
@@ -53,8 +53,8 @@ template:
{%- set ns = namespace() -%}
{%- set ns.totalprecipitation = 0 -%}
{%- for daypart in range(0, 8) -%}
{%- set precipitation = hourly['weather.forecast_home'].forecast[daypart].precipitation -%}
{%- set wind_speed = hourly['weather.forecast_home'].forecast[daypart].wind_speed -%}
{%- set precipitation = hourly['weather.home'].forecast[daypart].precipitation -%}
{%- set wind_speed = hourly['weather.home'].forecast[daypart].wind_speed -%}
{% if wind_speed > states('input_number.wind_speed_blowing_rain') |float(default=0) %}
{%- set upcoming_precipitation = precipitation -%}
{%- endif -%}
@@ -67,14 +67,14 @@ template:
unique_id: "custom_sensor.sprinkler_total_expected_precipitation"
icon: mdi:weather-pouring
unit_of_measurement: mm
availability: "{{ states('weather.forecast_home') not in ['unknown', 'unavailable'] }}"
availability: "{{ states('weather.home') not in ['unknown', 'unavailable'] }}"
state: >
{%- set totalprecipitation = 0 | float -%}
{%- set upcoming_precipitation = 0 | float -%}
{%- set ns = namespace() -%}
{%- set ns.totalprecipitation = 0 -%}
{%- for daypart in range(0, 5) -%}
{%- set precipitation = daily['weather.forecast_home'].forecast[daypart].precipitation * 25.4 -%}
{%- set precipitation = daily['weather.home'].forecast[daypart].precipitation * 25.4 -%}
{%- set upcoming_precipitation = precipitation -%}
{%- set ns.totalprecipitation = ns.totalprecipitation + upcoming_precipitation -%}
{%- endfor %}
@@ -83,36 +83,36 @@ template:
- name: "Today's Low Temperature"
unique_id: templatesensor.templow_today
unit_of_measurement: °F
availability: "{{ states('weather.forecast_home') not in ['unknown', 'unavailable'] }}"
state: "{{ daily['weather.forecast_home'].forecast[0].templow }}"
availability: "{{ states('weather.home') not in ['unknown', 'unavailable'] }}"
state: "{{ daily['weather.home'].forecast[0].templow }}"
- name: "Today's High Temperature"
unique_id: templatesensor.temphigh_today
unit_of_measurement: °F
availability: "{{ states('weather.forecast_home') not in ['unknown', 'unavailable'] }}"
state: "{{ daily['weather.forecast_home'].forecast[0].temperature}}"
availability: "{{ states('weather.home') not in ['unknown', 'unavailable'] }}"
state: "{{ daily['weather.home'].forecast[0].temperature}}"
# - name: "Today's Chance of Precipitation"
# unique_id: templatesensor.precip_chance_today
# icon: mdi:cloud-percent
# unit_of_measurement: '%'
# availability: "{{ states('weather.forecast_home') not in ['unknown', 'unavailable'] }}"
# state: "{{ daily['weather.forecast_home'].forecast[0].precipitation_probability}}"
# availability: "{{ states('weather.home') not in ['unknown', 'unavailable'] }}"
# state: "{{ daily['weather.home'].forecast[0].precipitation_probability}}"
- name: "Tomorrow's Low Temperature"
unique_id: templatesensor.templow_tomorrow
unit_of_measurement: °F
availability: "{{ states('weather.forecast_home') not in ['unknown', 'unavailable'] }}"
state: "{{ daily['weather.forecast_home'].forecast[1].templow}}"
availability: "{{ states('weather.home') not in ['unknown', 'unavailable'] }}"
state: "{{ daily['weather.home'].forecast[1].templow}}"
- name: "Tomorrow's High Temperature"
unique_id: templatesensor.temphigh_tomorrow
unit_of_measurement: °F
availability: "{{ states('weather.forecast_home') not in ['unknown', 'unavailable'] }}"
state: "{{ daily['weather.forecast_home'].forecast[1].temperature}}"
availability: "{{ states('weather.home') not in ['unknown', 'unavailable'] }}"
state: "{{ daily['weather.home'].forecast[1].temperature}}"
# - name: "Tomorrow's Chance of Precipitation"
# unique_id: templatesensor.precip_chance_tomorrow
# icon: mdi:cloud-percent
# unit_of_measurement: '%'
# availability: "{{ states('weather.forecast_home') not in ['unknown', 'unavailable'] }}"
# state: "{{ daily['weather.forecast_home'].forecast[1].precipitation_probability}}"
# availability: "{{ states('weather.home') not in ['unknown', 'unavailable'] }}"
# state: "{{ daily['weather.home'].forecast[1].precipitation_probability}}"
+8 -7
View File
@@ -1,7 +1,8 @@
template:
- sensor:
- name: "Alive ZWave Devices"
- name: "ZWave: All Devices"
unique_id: template_sensor_alive_zwave
icon: mdi:z-wave
state: >-
{{ expand(integration_entities('Z-Wave JS') )| selectattr("entity_id", "search", "node_status") |
selectattr('state', 'in', 'alive') |
@@ -9,14 +10,14 @@ template:
- name: "Dead ZWave Devices"
unique_id: template_sensor_failed_zwave
icon: mdi:z-wave
state: >-
{% if states('sensor.alive_zwave_devices')|int(default=0) > 0 %}
{{ expand(integration_entities('Z-Wave JS') )| selectattr("entity_id", "search", "node_status") |
selectattr('state', 'in', 'alive') | map(attribute='entity_id')| list | count | int(default=0)}}
attributes:
devices: >-
{{ expand(integration_entities('Z-Wave JS') )| selectattr("entity_id", "search", "node_status") |
selectattr('state', 'in', 'dead') |
map(attribute='entity_id')| list | count | int(default=0)}}
{% else %}
0
{% endif %}
selectattr('state', 'in', 'alive') | map(attribute='entity_id')| list }}
automation:
- id: automation_alert_failed_zwave_nodes
-8
View File
@@ -1,8 +0,0 @@
group.master_bedroom_doors:
icon: mdi:door
group.master_bathroom_doors:
icon: mdi:door
binary_sensory.patio_door_contact:
icon: mdi:door-sliding
+1 -1
View File
@@ -1,4 +1,4 @@
switch.bathroom_vent_switch:
switch.master_bathroom_vent_switch:
icon: mdi:fan
switch.utility_room_vent_switch:
+1 -1
View File
@@ -9,7 +9,7 @@ light.kitchen_hue:
# light.dining_room_hue:
# icon: mdi:chandelier
light.dining_room_switch:
light.dining_room:
icon: mdi:chandelier
light.dining_room_1:
+2 -4
View File
@@ -172,8 +172,7 @@ sensor:
- platform: copy
source_id: temperature
device_class: temperature
unit_of_measurement: "°F/m"
unit_of_measurement: "°F"
name: "Air Temperature Change"
id: air_temperature_change
icon: mdi:chart-line
@@ -224,8 +223,7 @@ sensor:
- platform: copy
source_id: humidity
device_class: humidity
unit_of_measurement: "%/m"
unit_of_measurement: "%"
name: "Relative Humidity Change"
id: relative_humidity_change
icon: mdi:chart-line
+2 -2
View File
@@ -1,11 +1,11 @@
substitutions:
devicename: girls_room-tagreader
devicename: nursery-tagreader
entity_name: nursery_tagreader
friendly_name: Nursery Tagreader
comment: Clever Tag Reader
platform: ESP8266
board: d1_mini
static_ip: !secret girls_room-tagreader-ip
static_ip: !secret nursery-tagreader-ip
packages:
wifi: !include common/wifi.yaml
+137 -137
View File
@@ -23,97 +23,97 @@ my_room_status:
- input_boolean.dining_room_occupied
- input_boolean.great_room_occupied
- input_boolean.utility_room_occupied
- input_boolean.master_bedroom_occupied
- input_boolean.bedroom_occupied
- input_boolean.girls_room_occupied
- input_boolean.master_bathroom_occupied
- input_boolean.bathroom_occupied
- input_boolean.boys_room_occupied
- input_boolean.mancave_occupied
- input_boolean.computer_area_occupied
- input_boolean.entryway_occupied
- input_boolean.garage_occupied
mancave_motion:
name: Mancave Motion
icon: mdi:motion-sensor
entities:
- binary_sensor.mancave_motion_switch_home_security_motion_detection
# mancave_motion:
# name: Mancave Motion
# icon: mdi:motion-sensor
# entities:
# - binary_sensor.mancave_motion_switch_motion_detection
furnace_room_motion:
name: Furnace Room Motion
icon: mdi:motion-sensor
entities:
- binary_sensor.furnace_room_motion_switch_home_security_motion_detection
# furnace_room_motion:
# name: Furnace Room Motion
# icon: mdi:motion-sensor
# entities:
# - binary_sensor.furnace_room_motion_switch_motion_detection
boys_room_motion:
name: Boys Room Motion
icon: mdi:motion-sensor
entities:
- binary_sensor.boys_room_motion_switch_motion_detection
- binary_sensor.boys_room_multisensor_motion_detection
# boys_room_motion:
# name: Boys Room Motion
# icon: mdi:motion-sensor
# entities:
# - binary_sensor.boys_room_motion_switch_motion_detection
# - binary_sensor.boys_room_multisensor_motion_detection
front_room_motion:
name: Front Room Motion
icon: mdi:motion-sensor
entities:
- binary_sensor.front_room_motion_switch_home_security_motion_detection
- binary_sensor.front_room_motion_sensor_home_security_motion_detection
- binary_sensor.front_room_motion
# front_room_motion:
# name: Front Room Motion
# icon: mdi:motion-sensor
# entities:
# - binary_sensor.front_room_motion_switch_motion_detection
# - binary_sensor.front_room_motion_sensor_motion_detection
# - binary_sensor.front_room_motion
dining_room_motion:
name: Dining Room Motion
icon: mdi:motion-sensor
entities:
- binary_sensor.dining_room_motion_switch_home_security_motion_detection
- binary_sensor.dining_room_multisensor_motion_detection
- binary_sensor.bar_motion
# dining_room_motion:
# name: Dining Room Motion
# icon: mdi:motion-sensor
# entities:
# - binary_sensor.dining_room_motion_switch_motion_detection
# - binary_sensor.dining_room_multisensor_motion_detection
# - binary_sensor.bar_motion
master_bedroom_doors:
name: Master Bedroom Doors
icon: hass:door
entities:
- binary_sensor.master_bedroom_closet_door_contact
- binary_sensor.master_bedroom_door_contact
- binary_sensor.master_suite_door_contact
# master_bedroom_doors:
# name: Master Bedroom Doors
# icon: hass:door
# entities:
# - binary_sensor.master_bedroom_closet_door_contact
# - binary_sensor.master_bedroom_door_contact
# - binary_sensor.master_suite_door_contact
master_bathroom_doors:
icon: hass:door
name: Master Bathroom Doors
entities:
- binary_sensor.master_suite_door_contact
- binary_sensor.master_bathroom_door_contact
# master_bathroom_doors:
# icon: hass:door
# name: Master Bathroom Doors
# entities:
# - binary_sensor.master_suite_door_contact
# - binary_sensor.master_bathroom_door_contact
master_bathroom_motion:
icon: mdi:motion-sensor
name: Master Bathroom Motion
entities:
- binary_sensor.master_bathroom_motion_switch_home_security_motion_detection
# master_bathroom_motion:
# icon: mdi:motion-sensor
# name: Master Bathroom Motion
# entities:
# - binary_sensor.master_bathroom_motion_switch_motion_detection
computer_area_motion:
icon: mdi:motion-sensor
name: Computer Area Motion
entities:
- binary_sensor.computer_area_multisensor_home_security_motion_detection
- binary_sensor.great_room_motion_switch_home_security_motion_detection
- binary_sensor.everything_presence_lite_8fa4fc_occupancy
# computer_area_motion:
# icon: mdi:motion-sensor
# name: Computer Area Motion
# entities:
# - binary_sensor.computer_area_multisensor_motion_detection
# - binary_sensor.great_room_motion_switch_motion_detection
# - binary_sensor.everything_presence_lite_8fa4fc_occupancy
utility_room_motion:
icon: mdi:motion-sensor
name: Utility Room Motion
entities:
- binary_sensor.utility_room_motion_switch_home_security_motion_detection
# utility_room_motion:
# icon: mdi:motion-sensor
# name: Utility Room Motion
# entities:
# - binary_sensor.utility_room_motion_switch_motion_detection
kitchen_motion:
icon: mdi:motion-sensor
name: Kitchen Motion
entities:
- binary_sensor.kitchen_multisensor_home_security_motion_detection
# kitchen_motion:
# icon: mdi:motion-sensor
# name: Kitchen Motion
# entities:
# - binary_sensor.kitchen_multisensor_motion_detection
great_room_motion:
icon: mdi:motion-sensor
name: Great Room Motion
entities:
- binary_sensor.great_room_multisensor_home_security_motion_detection
- binary_sensor.everything_presence_lite_8fa4fc_occupancy
# great_room_motion:
# icon: mdi:motion-sensor
# name: Great Room Motion
# entities:
# - binary_sensor.great_room_multisensor_motion_detection
# - binary_sensor.everything_presence_lite_8fa4fc_occupancy
# girls_room_doors:
# icon: hass:door
@@ -126,56 +126,56 @@ great_room_motion:
# icon: mdi:motion-sensor
# name: Girls Room Motion
# entities:
# - binary_sensor.girls_room_multisensor_home_security_motion_detection # The Aeotech
# - binary_sensor.girls_room_closet_motion_switch_home_security_motion_detection
# - binary_sensor.girls_room_multisensor_motion_detection # The Aeotech
# - binary_sensor.girls_room_closet_motion_switch_motion_detection
master_bedroom_motion:
icon: mdi:motion-sensor
name: Master Bedroom Motion
entities:
- binary_sensor.master_bedroom_multisensor_home_security_motion_detection
- binary_sensor.master_bedroom_closet_motion_switch_home_security_motion_detection
# master_bedroom_motion:
# icon: mdi:motion-sensor
# name: Master Bedroom Motion
# entities:
# - binary_sensor.master_bedroom_multisensor_motion_detection
# - binary_sensor.master_bedroom_closet_motion_switch_motion_detection
entryway_motion:
icon: mdi:motion-sensor
name: Entryway Motion
entities:
- binary_sensor.entryway_motion_switch_home_security_motion_detection
- binary_sensor.great_room_motion_switch_home_security_motion_detection
- binary_sensor.entryway_motion
# entryway_motion:
# icon: mdi:motion-sensor
# name: Entryway Motion
# entities:
# - binary_sensor.entryway_motion_switch_motion_detection
# - binary_sensor.great_room_motion_switch_motion_detection
# - binary_sensor.entryway_motion
garage_motion:
icon: mdi:motion-sensor
name: Garage Motion
entities:
- binary_sensor.garage_motion_switch_home_security_motion_detection
- binary_sensor.garage_multisensor_home_security_motion_detection
# garage_motion:
# icon: mdi:motion-sensor
# name: Garage Motion
# entities:
# - binary_sensor.garage_motion_switch_motion_detection
# - binary_sensor.garage_multisensor_motion_detection
workshop_motion:
icon: mdi:motion-sensor
name: Workshop Motion
entities:
- binary_sensor.workshop_person_occupancy
- binary_sensor.garage_multisensor_home_security_motion_detection
# workshop_motion:
# icon: mdi:motion-sensor
# name: Workshop Motion
# entities:
# - binary_sensor.workshop_person_occupancy
# - binary_sensor.garage_multisensor_motion_detection
front_porch_motion:
icon: mdi:motion-sensor
name: Front Porch Motion
entities:
- binary_sensor.front_porch_motion
# front_porch_motion:
# icon: mdi:motion-sensor
# name: Front Porch Motion
# entities:
# - binary_sensor.front_porch_motion
back_yard_motion:
icon: mdi:motion-sensor
name: Back Yard Motion
entities:
- binary_sensor.frigate_cam14_person_occupancy
# back_yard_motion:
# icon: mdi:motion-sensor
# name: Back Yard Motion
# entities:
# - binary_sensor.frigate_cam14_person_occupancy
front_yard_motion:
icon: mdi:motion-sensor
name: Front Yard Motion
entities:
- binary_sensor.frigate_cam19_person_occupancy
- binary_sensor.front_porch_motion
# front_yard_motion:
# icon: mdi:motion-sensor
# name: Front Yard Motion
# entities:
# - binary_sensor.frigate_cam19_person_occupancy
# - binary_sensor.front_porch_motion
person_clint:
name: Clint
@@ -235,17 +235,17 @@ person_household:
- input_boolean.ebin_home
- input_boolean.guest_home
my_exterior_doors:
name: My Exterior Doors
icon: hass:door
entities:
- binary_sensor.front_door_contact
- binary_sensor.garage_door
# - binary_sensor.outer_garage_door
- binary_sensor.outer_garage_door_contact
- binary_sensor.patio_door_contact
# - binary_sensor.inner_garage_door
- binary_sensor.inner_garage_door_contact
# my_exterior_doors:
# name: My Exterior Doors
# icon: hass:door
# entities:
# - binary_sensor.front_door_contact
# - binary_sensor.garage_door
# # - binary_sensor.outer_garage_door
# - binary_sensor.outer_garage_door_contact
# - binary_sensor.patio_door_contact
# # - binary_sensor.inner_garage_door
# - binary_sensor.inner_garage_door_contact
my_hvac_affecting_openings:
name: My HVAC Affecting Openings
@@ -261,15 +261,15 @@ my_hvac_affecting_openings:
- binary_sensor.boys_room_window_contact
- binary_sensor.entryway_window_contact
my_garage_doors:
name: My Garage Doors
icon: hass:door
entities:
- binary_sensor.garage_door
# - binary_sensor.outer_garage_door
- binary_sensor.outer_garage_door_contact
# - binary_sensor.inner_garage_door
- binary_sensor.inner_garage_door_contact
# my_garage_doors:
# name: My Garage Doors
# icon: hass:door
# entities:
# - binary_sensor.garage_door
# # - binary_sensor.outer_garage_door
# - binary_sensor.outer_garage_door_contact
# # - binary_sensor.inner_garage_door
# - binary_sensor.inner_garage_door_contact
my_exterior_windows:
name: My Exterior Windows
@@ -291,7 +291,7 @@ my_lights:
- light.computer_area_hue
- light.great_room_hue
# - light.dining_room_hue
- light.dining_room_switch
- light.dining_room
- light.entryway_hue
- light.front_room_hue
- light.kitchen_hue
+2 -2
View File
@@ -19,7 +19,7 @@ card:
go2rtc:
modes:
- webrtc
stream: cam01_sub_opus
stream: cam01_sub
icon: mdi:earth
title: Boys Room
id: boys_room
@@ -72,7 +72,7 @@ card:
opacity: 0%
- type: state-icon
entity: group.boys_room_motion
entity: binary_sensor.boys_room_motion
style:
left: 8%
top: 95%
+3 -3
View File
@@ -19,7 +19,7 @@ card:
go2rtc:
modes:
- webrtc
stream: cam03_sub_opus
stream: cam03_sub
icon: mdi:desktop-classic
title: Computer Area
id: computer_area
@@ -45,7 +45,7 @@ card:
lazy_load: false
dimensions:
aspect_ratio_mode: static
aspect_ratio: '16:9'
aspect_ratio: "16:9"
elements:
- type: image
image: /local/title-dark-double.png
@@ -71,7 +71,7 @@ card:
height: 100%
opacity: 0%
- type: state-icon
entity: group.computer_area_motion
entity: binary_sensor.computer_area_motion
style:
left: 8%
top: 95%
+3 -3
View File
@@ -19,7 +19,7 @@ card:
go2rtc:
modes:
- webrtc
stream: cam04_sub_opus
stream: cam04_sub
live:
preload: true
draggable: true
@@ -42,7 +42,7 @@ card:
lazy_load: false
dimensions:
aspect_ratio_mode: static
aspect_ratio: '16:9'
aspect_ratio: "16:9"
elements:
- type: image
image: /local/title-dark-double.png
@@ -69,7 +69,7 @@ card:
opacity: 0%
- type: state-icon
entity: group.garage_motion
entity: binary_sensor.garage_motion
style:
left: 8%
top: 95%
+5 -5
View File
@@ -19,7 +19,7 @@ card:
go2rtc:
modes:
- webrtc
stream: cam06_sub_opus
stream: cam06_sub
live:
preload: true
draggable: true
@@ -42,7 +42,7 @@ card:
lazy_load: false
dimensions:
aspect_ratio_mode: static
aspect_ratio: '16:9'
aspect_ratio: "16:9"
elements:
- type: image
image: /local/title-dark-double.png
@@ -69,7 +69,7 @@ card:
opacity: 0%
- type: state-icon
entity: group.master_bedroom_motion
entity: binary_sensor.bedroom_motion
style:
left: 8%
top: 95%
@@ -79,14 +79,14 @@ card:
left: 50%
top: 95%
- type: state-icon
entity: input_boolean.master_bedroom_occupied
entity: input_boolean.bedroom_occupied
tap_action:
action: toggle
style:
left: 70%
top: 95%
- type: state-icon
entity: binary_sensor.master_bedroom_occupied
entity: binary_sensor.bedroom_occupied
style:
top: 95%
left: 92%
+5 -5
View File
@@ -19,7 +19,7 @@ card:
go2rtc:
modes:
- webrtc
stream: cam07_sub_opus
stream: cam07_sub
live:
preload: true
draggable: true
@@ -42,7 +42,7 @@ card:
lazy_load: false
dimensions:
aspect_ratio_mode: static
aspect_ratio: '16:9'
aspect_ratio: "16:9"
elements:
- type: image
image: /local/title-dark-double.png
@@ -69,7 +69,7 @@ card:
opacity: 0%
- type: state-icon
entity: group.master_bedroom_motion
entity: binary_sensor.bedroom_motion
style:
left: 8%
top: 95%
@@ -79,14 +79,14 @@ card:
left: 50%
top: 95%
- type: state-icon
entity: input_boolean.master_bedroom_occupied
entity: input_boolean.bedroom_occupied
tap_action:
action: toggle
style:
left: 70%
top: 95%
- type: state-icon
entity: binary_sensor.master_bedroom_occupied
entity: binary_sensor.bedroom_occupied
style:
top: 95%
left: 92%
+1 -1
View File
@@ -19,7 +19,7 @@ card:
go2rtc:
modes:
- webrtc
stream: cam08_sub_opus
stream: cam08_sub
live:
preload: true
draggable: true
+20 -8
View File
@@ -11,26 +11,38 @@ card:
dimensions:
layout:
fit: fill
status_bar:
style: none
cameras:
- camera_entity: camera.frigate_cam12
live_provider: go2rtc
go2rtc:
modes:
- webrtc
stream: cam12_sub_opus
cast:
method: dashboard
dashboard:
dashboard_path: camera-casting-yml
view_path: kitchen-camera
stream: cam12_sub
live:
preload: true
draggable: true
show_image_during_load: false
lazy_load: false
controls:
title:
mode: none
timeline:
mode: none
thumbnails:
mode: none
menu:
buttons:
frigate:
enabled: false
style: none
media_viewer:
draggable: false
lazy_load: false
dimensions:
aspect_ratio_mode: static
aspect_ratio: '16:9'
aspect_ratio: "16:9"
elements:
- type: image
image: /local/title-dark-double.png
@@ -57,7 +69,7 @@ card:
opacity: 0%
- type: state-icon
entity: group.kitchen_motion
entity: binary_sensor.kitchen_motion
style:
left: 8%
top: 95%
+20 -20
View File
@@ -1,8 +1,8 @@
type: conditional
conditions:
- condition: state
entity: sensor.frigate_cam13_camera_fps
state_not: "0"
entity: sensor.frigate_cam12_camera_fps
state_not: "500"
card:
type: vertical-stack
cards:
@@ -14,12 +14,12 @@ card:
status_bar:
style: none
cameras:
- camera_entity: camera.frigate_cam13
- camera_entity: camera.frigate_cam12
live_provider: go2rtc
go2rtc:
modes:
- webrtc
stream: cam13_sub_opus
stream: cam13_sub
live:
preload: true
draggable: true
@@ -42,7 +42,7 @@ card:
lazy_load: false
dimensions:
aspect_ratio_mode: static
aspect_ratio: '16:9'
aspect_ratio: "16:9"
elements:
- type: image
image: /local/title-dark-double.png
@@ -53,23 +53,23 @@ card:
width: 100%
height: 10%
opacity: 70%
- type: image
entity: camera.frigate_cam13
image: /local/title-dark-double.png
aspect_ratio: 100%
tap_action:
action: navigate
navigation_path: /ai-yml/ai-cam13
style:
transform: initial
top: 0px
left: 0px
width: 100%
height: 100%
opacity: 0%
# - type: image
# entity: camera.frigate_cam13
# image: /local/title-dark-double.png
# aspect_ratio: 100%
# tap_action:
# action: navigate
# navigation_path: /ai-yml/ai-cam13
# style:
# transform: initial
# top: 0px
# left: 0px
# width: 100%
# height: 100%
# opacity: 0%
- type: state-icon
entity: group.front_room_motion
entity: binary_sensor.front_room_motion
style:
left: 8%
top: 95%
+15 -15
View File
@@ -1,8 +1,8 @@
type: conditional
conditions:
- condition: state
entity: sensor.frigate_cam14_camera_fps
state_not: "0"
entity: sensor.frigate_cam12_camera_fps
state_not: "500"
card:
type: vertical-stack
cards:
@@ -19,7 +19,7 @@ card:
go2rtc:
modes:
- webrtc
stream: cam14_sub_opus
stream: cam14_sub
live:
preload: true
draggable: true
@@ -42,7 +42,7 @@ card:
lazy_load: false
dimensions:
aspect_ratio_mode: static
aspect_ratio: '16:9'
aspect_ratio: "16:9"
elements:
- type: image
image: /local/title-dark-double.png
@@ -69,7 +69,7 @@ card:
opacity: 0%
- type: state-icon
entity: group.back_yard_motion
entity: binary_sensor.back_yard_motion
style:
left: 8%
top: 95%
@@ -86,13 +86,13 @@ card:
top: 95%
left: 92%
- type: conditional
conditions:
- entity: binary_sensor.back_yard_person_occupancy
state: "on"
elements:
- type: state-icon
entity: binary_sensor.back_yard_person_occupancy
style:
top: 45%
left: 45%
# - type: conditional
# conditions:
# - entity: binary_sensor.back_yard_person_occupancy
# state: "on"
# elements:
# - type: state-icon
# entity: binary_sensor.back_yard_person_occupancy
# style:
# top: 45%
# left: 45%

Some files were not shown because too many files have changed in this diff Show More