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