Will pushing from the server break anything?

This commit is contained in:
HomeAssistant
2025-12-06 09:12:49 -05:00
parent 78cd67a560
commit a49d981ad4
225 changed files with 2241 additions and 2237 deletions
+1
View File
@@ -18,6 +18,7 @@ backup_config.yaml
.storage/ .storage/
.cloud/ .cloud/
.automatic/ .automatic/
glances/
.tts.token* .tts.token*
*.tts.token *.tts.token
customize.yaml customize.yaml
+3 -3
View File
@@ -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
``` ```
+6 -6
View File
@@ -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
+6 -6
View File
@@ -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(', ') }}
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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"
+2 -2
View File
@@ -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:
+2 -2
View File
@@ -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
+5 -5
View File
@@ -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
+99 -55
View File
@@ -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
View File
@@ -1 +0,0 @@
fan: !include_dir_list ../fans
+23 -11
View File
@@ -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
+3 -3
View File
@@ -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
+3 -3
View File
@@ -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
+16 -16
View File
@@ -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:
@@ -1,53 +1,53 @@
mqtt: mqtt:
sensor: sensor:
- name: "Timestamp" - name: "Timestamp"
device_class: timestamp device_class: timestamp
icon: mdi:clock-in icon: mdi:clock-in
state_topic: "rtl_433/9b13b3f4-rtl433/devices/Acurite-Tower/A/6162/time" state_topic: "rtl_433/9b13b3f4-rtl433/devices/Acurite-Tower/A/6162/time"
entity_category: diagnostic entity_category: diagnostic
unique_id: acurite-tower-1-a-time unique_id: acurite-tower-1-a-time
device: device:
identifiers: acurite-tower-1-a identifiers: acurite-tower-1-a
name: Back Yard Thermostat name: Back Yard Thermostat
model: Tower model: Tower
manufacturer: Acurite manufacturer: Acurite
- name: "Battery" - name: "Battery"
device_class: battery device_class: battery
unit_of_measurement: "%" unit_of_measurement: "%"
value_template: "{{ (float(value) * 99 + 1) | round(0) }}" value_template: "{{ (float(value) * 99 + 1) | round(0) }}"
state_class: measurement state_class: measurement
entity_category: diagnostic entity_category: diagnostic
state_topic: "rtl_433/9b13b3f4-rtl433/devices/Acurite-Tower/A/6162/battery_ok" state_topic: "rtl_433/9b13b3f4-rtl433/devices/Acurite-Tower/A/6162/battery_ok"
unique_id: acurite-tower-1-a-battery-ok unique_id: acurite-tower-1-a-battery-ok
device: device:
identifiers: acurite-tower-1-a identifiers: acurite-tower-1-a
name: Back Yard Thermostat name: Back Yard Thermostat
model: Tower model: Tower
manufacturer: Acurite manufacturer: Acurite
- name: "Temperature" - name: "Temperature"
device_class: temperature device_class: temperature
unit_of_measurement: "°C" unit_of_measurement: "°C"
value_template: "{{ value|float }}" value_template: "{{ value|float }}"
state_class: measurement state_class: measurement
state_topic: "rtl_433/9b13b3f4-rtl433/devices/Acurite-Tower/A/6162/temperature_C" state_topic: "rtl_433/9b13b3f4-rtl433/devices/Acurite-Tower/A/6162/temperature_C"
unique_id: acurite-tower-1-a-temperature-c unique_id: acurite-tower-1-a-temperature-c
device: device:
identifiers: acurite-tower-1-a identifiers: acurite-tower-1-a
name: Back Yard Thermostat name: Back Yard Thermostat
model: Tower model: Tower
manufacturer: Acurite manufacturer: Acurite
- name: "Humidity" - name: "Humidity"
device_class: humidity device_class: humidity
unit_of_measurement: "%" unit_of_measurement: "%"
value_template: "{{ value|float }}" value_template: "{{ value|float }}"
state_class: measurement state_class: measurement
state_topic: "rtl_433/9b13b3f4-rtl433/devices/Acurite-Tower/A/6162/humidity" state_topic: "rtl_433/9b13b3f4-rtl433/devices/Acurite-Tower/A/6162/humidity"
unique_id: acurite-tower-1-a-humidity unique_id: acurite-tower-1-a-humidity
device: device:
identifiers: acurite-tower-1-a identifiers: acurite-tower-1-a
name: Back Yard Thermostat name: Back Yard Thermostat
model: Tower model: Tower
manufacturer: Acurite manufacturer: Acurite
@@ -1,12 +1,12 @@
mqtt: mqtt:
device_tracker: device_tracker:
- name: "Location" - name: "Location"
icon: mdi:car-estate icon: mdi:car-estate
json_attributes_topic: "cleverdevices/clever_traverse/attributes" json_attributes_topic: "cleverdevices/clever_traverse/attributes"
unique_id: chevrolet-traverse-lt-awd unique_id: chevrolet-traverse-lt-awd
device: device:
name: Chevrolet Traverse name: Chevrolet Traverse
identifiers: chevrolet-traverse-lt-awd identifiers: chevrolet-traverse-lt-awd
model_id: LT AWD model_id: LT AWD
model: Traverse model: Traverse
manufacturer: Chevrolet manufacturer: Chevrolet
@@ -1,42 +1,42 @@
mqtt: mqtt:
sensor: sensor:
- name: "Timestamp" - name: "Timestamp"
device_class: timestamp device_class: timestamp
icon: mdi:clock-in icon: mdi:clock-in
state_topic: "rtl_433/9b13b3f4-rtl433/devices/Fineoffset-WH51/00e1cd/time" state_topic: "rtl_433/9b13b3f4-rtl433/devices/Fineoffset-WH51/00e1cd/time"
entity_category: diagnostic entity_category: diagnostic
unique_id: fine-offset-wh51-daisy-time unique_id: fine-offset-wh51-daisy-time
device: device:
identifiers: ecowitt-wh51-daisy identifiers: ecowitt-wh51-daisy
name: Daisy Soil Sensor name: Daisy Soil Sensor
model: WH51 model: WH51
manufacturer: Ecowitt manufacturer: Ecowitt
- name: "Battery" - name: "Battery"
device_class: battery device_class: battery
unit_of_measurement: "%" unit_of_measurement: "%"
value_template: "{{ (float(value) * 99 + 1) | round(0) }}" value_template: "{{ (float(value) * 99 + 1) | round(0) }}"
state_class: measurement state_class: measurement
entity_category: diagnostic entity_category: diagnostic
state_topic: "rtl_433/9b13b3f4-rtl433/devices/Fineoffset-WH51/00e1cd/battery_ok" state_topic: "rtl_433/9b13b3f4-rtl433/devices/Fineoffset-WH51/00e1cd/battery_ok"
unique_id: fine-offset-wh51-battery-ok unique_id: fine-offset-wh51-battery-ok
device: device:
identifiers: ecowitt-wh51-daisy identifiers: ecowitt-wh51-daisy
name: Daisy Soil Sensor name: Daisy Soil Sensor
model: WH51 model: WH51
manufacturer: Ecowitt manufacturer: Ecowitt
- name: "Moisture" - name: "Moisture"
device_class: moisture device_class: moisture
unit_of_measurement: "%" unit_of_measurement: "%"
value_template: "{{ value|float }}" value_template: "{{ value|float }}"
state_class: measurement state_class: measurement
state_topic: "rtl_433/9b13b3f4-rtl433/devices/Fineoffset-WH51/00e1cd/moisture" state_topic: "rtl_433/9b13b3f4-rtl433/devices/Fineoffset-WH51/00e1cd/moisture"
unique_id: fine-offset-wh51-daisy-moisture unique_id: fine-offset-wh51-daisy-moisture
device: device:
identifiers: ecowitt-wh51-daisy identifiers: ecowitt-wh51-daisy
name: Daisy Soil Sensor name: Daisy Soil Sensor
model: WH51 model: WH51
manufacturer: Ecowitt manufacturer: Ecowitt
@@ -1,53 +1,53 @@
mqtt: mqtt:
sensor: sensor:
- name: "Timestamp" - name: "Timestamp"
device_class: timestamp device_class: timestamp
icon: mdi:clock-in icon: mdi:clock-in
state_topic: "rtl_433/9b13b3f4-rtl433/devices/LaCrosse-TX141THBv2/0/233/time" state_topic: "rtl_433/9b13b3f4-rtl433/devices/LaCrosse-TX141THBv2/0/233/time"
entity_category: diagnostic entity_category: diagnostic
unique_id: lacrosse-tx141thbv2-0-time unique_id: lacrosse-tx141thbv2-0-time
device: device:
identifiers: lacrosse-tx141thbv2-0 identifiers: lacrosse-tx141thbv2-0
name: Front Yard Thermostat name: Front Yard Thermostat
model: TX141THBv2 model: TX141THBv2
manufacturer: LaCrosse manufacturer: LaCrosse
- name: "Battery" - name: "Battery"
device_class: battery device_class: battery
unit_of_measurement: "%" unit_of_measurement: "%"
value_template: "{{ (float(value) * 99 + 1) | round(0) }}" value_template: "{{ (float(value) * 99 + 1) | round(0) }}"
state_class: measurement state_class: measurement
entity_category: diagnostic entity_category: diagnostic
state_topic: "rtl_433/9b13b3f4-rtl433/devices/LaCrosse-TX141THBv2/0/233/battery_ok" state_topic: "rtl_433/9b13b3f4-rtl433/devices/LaCrosse-TX141THBv2/0/233/battery_ok"
unique_id: lacrosse-tx141thbv2-0-battery-ok unique_id: lacrosse-tx141thbv2-0-battery-ok
device: device:
identifiers: lacrosse-tx141thbv2-0 identifiers: lacrosse-tx141thbv2-0
name: Front Yard Thermostat name: Front Yard Thermostat
model: TX141THBv2 model: TX141THBv2
manufacturer: LaCrosse manufacturer: LaCrosse
- name: "Temperature" - name: "Temperature"
device_class: temperature device_class: temperature
unit_of_measurement: "°C" unit_of_measurement: "°C"
value_template: "{{ value|float }}" value_template: "{{ value|float }}"
state_class: measurement state_class: measurement
state_topic: "rtl_433/9b13b3f4-rtl433/devices/LaCrosse-TX141THBv2/0/233/temperature_C" state_topic: "rtl_433/9b13b3f4-rtl433/devices/LaCrosse-TX141THBv2/0/233/temperature_C"
unique_id: lacrosse-tx141thbv2-0-temperature-c unique_id: lacrosse-tx141thbv2-0-temperature-c
device: device:
identifiers: lacrosse-tx141thbv2-0 identifiers: lacrosse-tx141thbv2-0
name: Front Yard Thermostat name: Front Yard Thermostat
model: TX141THBv2 model: TX141THBv2
manufacturer: LaCrosse manufacturer: LaCrosse
- name: "Humidity" - name: "Humidity"
device_class: humidity device_class: humidity
unit_of_measurement: "%" unit_of_measurement: "%"
value_template: "{{ value|float }}" value_template: "{{ value|float }}"
state_class: measurement state_class: measurement
state_topic: "rtl_433/9b13b3f4-rtl433/devices/LaCrosse-TX141THBv2/0/233/humidity" state_topic: "rtl_433/9b13b3f4-rtl433/devices/LaCrosse-TX141THBv2/0/233/humidity"
unique_id: lacrosse-tx141thbv2-0-humidity unique_id: lacrosse-tx141thbv2-0-humidity
device: device:
identifiers: lacrosse-tx141thbv2-0 identifiers: lacrosse-tx141thbv2-0
name: Front Yard Thermostat name: Front Yard Thermostat
model: TX141THBv2 model: TX141THBv2
manufacturer: LaCrosse manufacturer: LaCrosse
@@ -1,40 +1,40 @@
mqtt: mqtt:
sensor: sensor:
- name: "Timestamp" - name: "Timestamp"
device_class: timestamp device_class: timestamp
icon: mdi:clock-in icon: mdi:clock-in
state_topic: "rtl_433/9b13b3f4-rtl433/devices/Fineoffset-WH51/0ce593/time" state_topic: "rtl_433/9b13b3f4-rtl433/devices/Fineoffset-WH51/0ce593/time"
entity_category: diagnostic entity_category: diagnostic
unique_id: fine-offset-wh51-hasta-time unique_id: fine-offset-wh51-hasta-time
device: device:
identifiers: ecowitt-wh51-hasta identifiers: ecowitt-wh51-hasta
name: Hasta Soil Sensor name: Hasta Soil Sensor
model: WH51 model: WH51
manufacturer: Ecowitt manufacturer: Ecowitt
- name: "Battery" - name: "Battery"
device_class: battery device_class: battery
unit_of_measurement: "%" unit_of_measurement: "%"
value_template: "{{ (float(value) * 99 + 1) | round(0) }}" value_template: "{{ (float(value) * 99 + 1) | round(0) }}"
state_class: measurement state_class: measurement
entity_category: diagnostic entity_category: diagnostic
state_topic: "rtl_433/9b13b3f4-rtl433/devices/Fineoffset-WH51/0ce593/battery_ok" state_topic: "rtl_433/9b13b3f4-rtl433/devices/Fineoffset-WH51/0ce593/battery_ok"
unique_id: fine-offset-wh51-hasta-battery-ok unique_id: fine-offset-wh51-hasta-battery-ok
device: device:
identifiers: ecowitt-wh51-hasta identifiers: ecowitt-wh51-hasta
name: Hasta Soil Sensor name: Hasta Soil Sensor
model: WH51 model: WH51
manufacturer: Ecowitt manufacturer: Ecowitt
- name: "Moisture" - name: "Moisture"
device_class: moisture device_class: moisture
unit_of_measurement: "%" unit_of_measurement: "%"
value_template: "{{ value|float }}" value_template: "{{ value|float }}"
state_class: measurement state_class: measurement
state_topic: "rtl_433/9b13b3f4-rtl433/devices/Fineoffset-WH51/0ce593/moisture" state_topic: "rtl_433/9b13b3f4-rtl433/devices/Fineoffset-WH51/0ce593/moisture"
unique_id: fine-offset-wh51-0ce593-moisture unique_id: fine-offset-wh51-0ce593-moisture
device: device:
identifiers: ecowitt-wh51-hasta identifiers: ecowitt-wh51-hasta
name: Hasta Soil Sensor name: Hasta Soil Sensor
model: WH51 model: WH51
manufacturer: Ecowitt manufacturer: Ecowitt
@@ -1,11 +1,11 @@
mqtt: mqtt:
device_tracker: device_tracker:
- name: Kristy's Phone - name: Kristy's Phone
icon: mdi:cellphone icon: mdi:cellphone
json_attributes_topic: "cleverdevices/kristy_s_phone/attributes" json_attributes_topic: "cleverdevices/kristy_s_phone/attributes"
unique_id: kristys-phone unique_id: kristys-phone
- name: nmap_tracker_fe_cf_82_b2_22_e0 - name: nmap_tracker_fe_cf_82_b2_22_e0
icon: mdi:cellphone icon: mdi:cellphone
json_attributes_topic: "cleverdevices/marshalls_phone/attributes" json_attributes_topic: "cleverdevices/marshalls_phone/attributes"
unique_id: marshalls-phone unique_id: marshalls-phone
+111 -111
View File
@@ -1,112 +1,112 @@
mqtt: mqtt:
sensor: sensor:
- name: "Timestamp" - name: "Timestamp"
device_class: timestamp device_class: timestamp
icon: mdi:clock-in icon: mdi:clock-in
state_topic: "rtl_433/9b13b3f4-rtl433/devices/TPMS/Schrader-EG53MA4/0D0D33/time" state_topic: "rtl_433/9b13b3f4-rtl433/devices/TPMS/Schrader-EG53MA4/0D0D33/time"
entity_category: diagnostic entity_category: diagnostic
unique_id: schrader-0d0d33-time unique_id: schrader-0d0d33-time
device: device:
name: "Tire 1" name: "Tire 1"
identifiers: schrader-0d0d33 identifiers: schrader-0d0d33
via_device: chevrolet-traverse-lt-awd via_device: chevrolet-traverse-lt-awd
- name: "Pressure" - name: "Pressure"
device_class: pressure device_class: pressure
unit_of_measurement: "kPa" unit_of_measurement: "kPa"
value_template: "{{ value|float }}" value_template: "{{ value|float }}"
state_class: measurement state_class: measurement
entity_category: diagnostic entity_category: diagnostic
state_topic: "rtl_433/9b13b3f4-rtl433/devices/TPMS/Schrader-EG53MA4/0D0D33/pressure_kPa" state_topic: "rtl_433/9b13b3f4-rtl433/devices/TPMS/Schrader-EG53MA4/0D0D33/pressure_kPa"
unique_id: schrader-0d0d33-pressure-kpa unique_id: schrader-0d0d33-pressure-kpa
device: device:
name: "Tire 1" name: "Tire 1"
identifiers: schrader-0d0d33 identifiers: schrader-0d0d33
via_device: chevrolet-traverse-lt-awd via_device: chevrolet-traverse-lt-awd
- name: "Temperature" - name: "Temperature"
device_class: temperature device_class: temperature
unit_of_measurement: "°C" unit_of_measurement: "°C"
value_template: "{{ value|float }}" value_template: "{{ value|float }}"
state_class: measurement state_class: measurement
entity_category: diagnostic entity_category: diagnostic
state_topic: "rtl_433/9b13b3f4-rtl433/devices/TPMS/Schrader-EG53MA4/0D0D33/temperature_C" state_topic: "rtl_433/9b13b3f4-rtl433/devices/TPMS/Schrader-EG53MA4/0D0D33/temperature_C"
unique_id: schrader-0d0d33-temperature-c unique_id: schrader-0d0d33-temperature-c
device: device:
name: "Tire 1" name: "Tire 1"
identifiers: schrader-0d0d33 identifiers: schrader-0d0d33
via_device: chevrolet-traverse-lt-awd via_device: chevrolet-traverse-lt-awd
- name: "Timestamp" - name: "Timestamp"
device_class: timestamp device_class: timestamp
icon: mdi:clock-in icon: mdi:clock-in
state_topic: "rtl_433/9b13b3f4-rtl433/devices/TPMS/Schrader-EG53MA4/0D31A0/time" state_topic: "rtl_433/9b13b3f4-rtl433/devices/TPMS/Schrader-EG53MA4/0D31A0/time"
entity_category: diagnostic entity_category: diagnostic
unique_id: schrader-0d31a0-time unique_id: schrader-0d31a0-time
device: device:
name: "Tire 2" name: "Tire 2"
identifiers: schrader-0d31a0 identifiers: schrader-0d31a0
via_device: chevrolet-traverse-lt-awd via_device: chevrolet-traverse-lt-awd
- name: "Pressure" - name: "Pressure"
device_class: pressure device_class: pressure
unit_of_measurement: "kPa" unit_of_measurement: "kPa"
value_template: "{{ value|float }}" value_template: "{{ value|float }}"
state_class: measurement state_class: measurement
entity_category: diagnostic entity_category: diagnostic
state_topic: "rtl_433/9b13b3f4-rtl433/devices/TPMS/Schrader-EG53MA4/0D31A0/pressure_kPa" state_topic: "rtl_433/9b13b3f4-rtl433/devices/TPMS/Schrader-EG53MA4/0D31A0/pressure_kPa"
unique_id: schrader-0d31a0-pressure-kpa unique_id: schrader-0d31a0-pressure-kpa
device: device:
name: "Tire 2" name: "Tire 2"
identifiers: schrader-0d31a0 identifiers: schrader-0d31a0
via_device: chevrolet-traverse-lt-awd via_device: chevrolet-traverse-lt-awd
- name: "Temperature" - name: "Temperature"
device_class: temperature device_class: temperature
unit_of_measurement: "°C" unit_of_measurement: "°C"
value_template: "{{ value|float }}" value_template: "{{ value|float }}"
state_class: measurement state_class: measurement
entity_category: diagnostic entity_category: diagnostic
state_topic: "rtl_433/9b13b3f4-rtl433/devices/TPMS/Schrader-EG53MA4/0D31A0/temperature_C" state_topic: "rtl_433/9b13b3f4-rtl433/devices/TPMS/Schrader-EG53MA4/0D31A0/temperature_C"
unique_id: schrader-0d31a0-temperature-c unique_id: schrader-0d31a0-temperature-c
device: device:
name: "Tire 2" name: "Tire 2"
identifiers: schrader-0d31a0 identifiers: schrader-0d31a0
via_device: chevrolet-traverse-lt-awd via_device: chevrolet-traverse-lt-awd
- name: "Timestamp" - name: "Timestamp"
device_class: timestamp device_class: timestamp
icon: mdi:clock-in icon: mdi:clock-in
state_topic: "rtl_433/9b13b3f4-rtl433/devices/TPMS/Schrader-EG53MA4/0D1909/time" state_topic: "rtl_433/9b13b3f4-rtl433/devices/TPMS/Schrader-EG53MA4/0D1909/time"
entity_category: diagnostic entity_category: diagnostic
unique_id: schrader-0d1909-time unique_id: schrader-0d1909-time
device: device:
name: "Tire 3" name: "Tire 3"
identifiers: schrader-0d1909 identifiers: schrader-0d1909
via_device: chevrolet-traverse-lt-awd via_device: chevrolet-traverse-lt-awd
- name: "Pressure" - name: "Pressure"
device_class: pressure device_class: pressure
unit_of_measurement: "kPa" unit_of_measurement: "kPa"
value_template: "{{ value|float }}" value_template: "{{ value|float }}"
state_class: measurement state_class: measurement
entity_category: diagnostic entity_category: diagnostic
state_topic: "rtl_433/9b13b3f4-rtl433/devices/TPMS/Schrader-EG53MA4/0D1909/pressure_kPa" state_topic: "rtl_433/9b13b3f4-rtl433/devices/TPMS/Schrader-EG53MA4/0D1909/pressure_kPa"
unique_id: schrader-0d1909-pressure-kpa unique_id: schrader-0d1909-pressure-kpa
device: device:
name: "Tire 3" name: "Tire 3"
identifiers: schrader-0d1909 identifiers: schrader-0d1909
via_device: chevrolet-traverse-lt-awd via_device: chevrolet-traverse-lt-awd
- name: "Temperature" - name: "Temperature"
device_class: temperature device_class: temperature
unit_of_measurement: "°C" unit_of_measurement: "°C"
value_template: "{{ value|float }}" value_template: "{{ value|float }}"
state_class: measurement state_class: measurement
entity_category: diagnostic entity_category: diagnostic
state_topic: "rtl_433/9b13b3f4-rtl433/devices/TPMS/Schrader-EG53MA4/0D1909/temperature_C" state_topic: "rtl_433/9b13b3f4-rtl433/devices/TPMS/Schrader-EG53MA4/0D1909/temperature_C"
unique_id: schrader-0d1909-temperature-c unique_id: schrader-0d1909-temperature-c
device: device:
name: "Tire 3" name: "Tire 3"
identifiers: schrader-0d1909 identifiers: schrader-0d1909
via_device: chevrolet-traverse-lt-awd via_device: chevrolet-traverse-lt-awd
@@ -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
+25 -25
View File
@@ -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') }}"
+2 -2
View File
@@ -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
@@ -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}}"
+8 -7
View File
@@ -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
-8
View File
@@ -1,8 +0,0 @@
group.master_bedroom_doors:
icon: mdi:door
group.master_bathroom_doors:
icon: mdi:door
binary_sensory.patio_door_contact:
icon: mdi:door-sliding
+1 -1
View File
@@ -1,4 +1,4 @@
switch.bathroom_vent_switch: switch.master_bathroom_vent_switch:
icon: mdi:fan icon: mdi:fan
switch.utility_room_vent_switch: switch.utility_room_vent_switch:
+1 -1
View File
@@ -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:
+2 -4
View File
@@ -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
+52 -52
View File
@@ -1,53 +1,53 @@
# Example configuration entry # Example configuration entry
sensor: sensor:
- platform: bme680 - platform: bme680
temperature: temperature:
name: "BME680 Temperature" name: "BME680 Temperature"
oversampling: 16x oversampling: 16x
pressure: pressure:
name: "BME680 Pressure" name: "BME680 Pressure"
humidity: humidity:
id: "humidity" id: "humidity"
name: "BME680 Humidity" name: "BME680 Humidity"
gas_resistance: gas_resistance:
id: "gas_resistance" id: "gas_resistance"
name: "BME680 Gas Resistance" name: "BME680 Gas Resistance"
address: 0x77 address: 0x77
update_interval: 60s update_interval: 60s
- platform: template - platform: template
name: "BME680 Indoor Air Quality" name: "BME680 Indoor Air Quality"
id: iaq id: iaq
icon: "mdi:gauge" icon: "mdi:gauge"
# calculation: comp_gas = log(R_gas[ohm]) + 0.04 log(Ohm)/%rh * hum[%rh] # calculation: comp_gas = log(R_gas[ohm]) + 0.04 log(Ohm)/%rh * hum[%rh]
lambda: |- lambda: |-
return log(id(gas_resistance).state) + 0.04 * id(humidity).state; return log(id(gas_resistance).state) + 0.04 * id(humidity).state;
state_class: "measurement" state_class: "measurement"
text_sensor: text_sensor:
- platform: template - platform: template
name: "BME680 IAQ Classification" name: "BME680 IAQ Classification"
icon: "mdi:checkbox-marked-circle-outline" icon: "mdi:checkbox-marked-circle-outline"
lambda: |- lambda: |-
if (int(id(iaq).state) <= 50) { if (int(id(iaq).state) <= 50) {
return {"Excellent"}; return {"Excellent"};
} }
else if (int(id(iaq).state) <= 100) { else if (int(id(iaq).state) <= 100) {
return {"Good"}; return {"Good"};
} }
else if (int(id(iaq).state) <= 150) { else if (int(id(iaq).state) <= 150) {
return {"Lightly polluted"}; return {"Lightly polluted"};
} }
else if (int(id(iaq).state) <= 200) { else if (int(id(iaq).state) <= 200) {
return {"Moderately polluted"}; return {"Moderately polluted"};
} }
else if (int(id(iaq).state) <= 250) { else if (int(id(iaq).state) <= 250) {
return {"Heavily polluted"}; return {"Heavily polluted"};
} }
else if (int(id(iaq).state) <= 350) { else if (int(id(iaq).state) <= 350) {
return {"Severely polluted"}; return {"Severely polluted"};
} }
else if (int(id(iaq).state) <= 500) { else if (int(id(iaq).state) <= 500) {
return {"Extremely polluted"}; return {"Extremely polluted"};
} }
else { else {
return {"unknown"}; return {"unknown"};
} }
+105 -105
View File
@@ -1,106 +1,106 @@
bme680_bsec: bme680_bsec:
# id # id
# ----------- # -----------
# Identifier for this component, useful when working with multiple devices. # Identifier for this component, useful when working with multiple devices.
# Must be unique, and can be used in the sensor sections to refer to the correct device. # Must be unique, and can be used in the sensor sections to refer to the correct device.
# Default: auto-computed # Default: auto-computed
id: bme680_internal id: bme680_internal
# i2c address # i2c address
# ----------- # -----------
# Common values are: # Common values are:
# - 0x76 # - 0x76
# - 0x77 # - 0x77
# Default: 0x76 # Default: 0x76
address: 0x76 address: 0x76
# Temperature offset # Temperature offset
# ------------------ # ------------------
# Useful if device is in enclosure and reads too high # Useful if device is in enclosure and reads too high
# For example, if it reads 5C too high, set this to 5 # For example, if it reads 5C too high, set this to 5
# This also corrects the relative humidity readings # This also corrects the relative humidity readings
# Default: 0 # Default: 0
temperature_offset: 0 temperature_offset: 0
# IAQ calculation mode # IAQ calculation mode
# -------------------- # --------------------
# Available options: # Available options:
# - static (for fixed position devices) # - static (for fixed position devices)
# - mobile (for on a person or other moveable devices) # - mobile (for on a person or other moveable devices)
# Default: static # Default: static
iaq_mode: static iaq_mode: static
# Supply voltage # Supply voltage
# -------------------- # --------------------
# Available options: # Available options:
# - 3.3V # - 3.3V
# - 1.8V # - 1.8V
# Default: 3.3V # Default: 3.3V
supply_voltage: 3.3V supply_voltage: 3.3V
# Sample rate # Sample rate
# ----------- # -----------
# Available options: # Available options:
# - lp (low power - samples every 3 seconds) # - lp (low power - samples every 3 seconds)
# - ulp (ultra-low power - samples every 5 minutes) # - ulp (ultra-low power - samples every 5 minutes)
# Default: lp # Default: lp
sample_rate: ulp sample_rate: ulp
# Interval at which to save BSEC state # Interval at which to save BSEC state
# ------------------------------------ # ------------------------------------
# Default: 6h # Default: 6h
state_save_interval: 6h state_save_interval: 6h
sensor: sensor:
- platform: bme680_bsec - platform: bme680_bsec
# ID of the bme680_bsec component to use for the next sensors. # ID of the bme680_bsec component to use for the next sensors.
# Useful when working with multiple devices # Useful when working with multiple devices
bme680_bsec_id: bme680_internal bme680_bsec_id: bme680_internal
temperature: temperature:
# Temperature in °C # Temperature in °C
name: "BME680 Temperature" name: "BME680 Temperature"
sample_rate: lp sample_rate: lp
filters: filters:
- median - median
pressure: pressure:
# Pressure in hPa # Pressure in hPa
name: "BME680 Pressure" name: "BME680 Pressure"
sample_rate: lp sample_rate: lp
filters: filters:
- median - median
humidity: humidity:
# Relative humidity % # Relative humidity %
name: "BME680 Humidity" name: "BME680 Humidity"
sample_rate: lp sample_rate: lp
filters: filters:
- median - median
gas_resistance: gas_resistance:
# Gas resistance in Ω # Gas resistance in Ω
name: "BME680 Gas Resistance" name: "BME680 Gas Resistance"
filters: filters:
- median - median
iaq: iaq:
# Indoor air quality value # Indoor air quality value
name: "BME680 IAQ" name: "BME680 IAQ"
filters: filters:
- median - median
iaq_accuracy: iaq_accuracy:
# IAQ accuracy as a numeric value of 0, 1, 2, 3 # IAQ accuracy as a numeric value of 0, 1, 2, 3
name: "BME680 Numeric IAQ Accuracy" name: "BME680 Numeric IAQ Accuracy"
co2_equivalent: co2_equivalent:
# CO2 equivalent estimate in ppm # CO2 equivalent estimate in ppm
name: "BME680 CO2 Equivalent" name: "BME680 CO2 Equivalent"
filters: filters:
- median - median
breath_voc_equivalent: breath_voc_equivalent:
# Volatile organic compounds equivalent estimate in ppm # Volatile organic compounds equivalent estimate in ppm
name: "BME680 Breath VOC Equivalent" name: "BME680 Breath VOC Equivalent"
filters: filters:
- median - median
text_sensor: text_sensor:
- platform: bme680_bsec - platform: bme680_bsec
iaq_accuracy: iaq_accuracy:
# IAQ accuracy as a text value of Stabilizing, Uncertain, Calibrating, Calibrated # IAQ accuracy as a text value of Stabilizing, Uncertain, Calibrating, Calibrated
name: "BME680 IAQ Accuracy" name: "BME680 IAQ Accuracy"
+60 -60
View File
@@ -1,61 +1,61 @@
# I2C bus for the BME680 devices # I2C bus for the BME680 devices
i2c: i2c:
- id: "i2cbus_bme" - id: "i2cbus_bme"
sda: GPIO18 sda: GPIO18
scl: GPIO19 scl: GPIO19
scan: true scan: true
# BME680 devices using BSEC library # BME680 devices using BSEC library
bme680_bsec: bme680_bsec:
- id: bme680_internal - id: bme680_internal
i2c_id: "i2cbus_bme" i2c_id: "i2cbus_bme"
address: 0x76 address: 0x76
- id: bme680_external - id: bme680_external
i2c_id: "i2cbus_bme" i2c_id: "i2cbus_bme"
address: 0x77 address: 0x77
sensor: sensor:
# Sensors for the internal BME680 device # Sensors for the internal BME680 device
- platform: bme680_bsec - platform: bme680_bsec
bme680_bsec_id: bme680_internal bme680_bsec_id: bme680_internal
temperature: temperature:
name: "IN_Temp" name: "IN_Temp"
pressure: pressure:
name: "IN_Press" name: "IN_Press"
humidity: humidity:
name: "IN_RH" name: "IN_RH"
iaq: iaq:
name: "IN_IAQ" name: "IN_IAQ"
co2_equivalent: co2_equivalent:
name: "IN_CO2eq" name: "IN_CO2eq"
breath_voc_equivalent: breath_voc_equivalent:
name: "IN_VOCeq" name: "IN_VOCeq"
# Sensors for the external BME680 device # Sensors for the external BME680 device
- platform: bme680_bsec - platform: bme680_bsec
bme680_bsec_id: bme680_external bme680_bsec_id: bme680_external
temperature: temperature:
name: "OUT_Temperatura" name: "OUT_Temperatura"
pressure: pressure:
name: "OUT_Pressione" name: "OUT_Pressione"
humidity: humidity:
name: "OUT_RH" name: "OUT_RH"
iaq: iaq:
name: "OUT_IAQ" name: "OUT_IAQ"
co2_equivalent: co2_equivalent:
name: "OUT_CO2eq" name: "OUT_CO2eq"
breath_voc_equivalent: breath_voc_equivalent:
name: "OUT_VOCeq" name: "OUT_VOCeq"
text_sensor: text_sensor:
# Text sensor for the internal BME680 device # Text sensor for the internal BME680 device
- platform: bme680_bsec - platform: bme680_bsec
bme680_bsec_id: bme680_internal bme680_bsec_id: bme680_internal
iaq_accuracy: iaq_accuracy:
name: "IN_IAQaccuracy" name: "IN_IAQaccuracy"
# Text sensor for the external BME680 device # Text sensor for the external BME680 device
- platform: bme680_bsec - platform: bme680_bsec
bme680_bsec_id: bme680_external bme680_bsec_id: bme680_external
iaq_accuracy: iaq_accuracy:
name: "OUT_IAQaccuracy" name: "OUT_IAQaccuracy"
+2 -2
View File
@@ -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

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