Compare commits
4 Commits
81f74cc30d
...
dev
| Author | SHA1 | Date | |
|---|---|---|---|
|
9ba93ccfe1
|
|||
|
7a490f2b4d
|
|||
|
a3fe6e269f
|
|||
|
edb1728c02
|
@@ -1 +1 @@
|
|||||||
2026.4.1
|
2026.4.2
|
||||||
@@ -6621,3 +6621,75 @@
|
|||||||
entity_id: climate.basement_studio_vtherm
|
entity_id: climate.basement_studio_vtherm
|
||||||
data: {}
|
data: {}
|
||||||
mode: restart
|
mode: restart
|
||||||
|
- id: '1775731411839'
|
||||||
|
alias: Emma Bedroom Mode Switch
|
||||||
|
description: For switching modes when the temperature goes from one extreme at night
|
||||||
|
to the other during the day
|
||||||
|
triggers:
|
||||||
|
- trigger: time
|
||||||
|
at: input_datetime.emma_bedroom_mode_switch
|
||||||
|
id: switch-time
|
||||||
|
alias: Switch Time
|
||||||
|
conditions:
|
||||||
|
- condition: state
|
||||||
|
entity_id: input_boolean.emma_bedroom_mode_switch
|
||||||
|
state:
|
||||||
|
- 'on'
|
||||||
|
actions:
|
||||||
|
- choose:
|
||||||
|
- conditions:
|
||||||
|
- condition: state
|
||||||
|
entity_id: input_select.emma_bedroom_mode_switch
|
||||||
|
state:
|
||||||
|
- To Aircon
|
||||||
|
alias: To Aircon
|
||||||
|
sequence:
|
||||||
|
- action: input_boolean.turn_on
|
||||||
|
metadata: {}
|
||||||
|
target:
|
||||||
|
entity_id: input_boolean.emma_bedroom_aircon_installed
|
||||||
|
data: {}
|
||||||
|
alias: Enable aircon, disable heater
|
||||||
|
- action: input_number.set_value
|
||||||
|
metadata: {}
|
||||||
|
target:
|
||||||
|
entity_id: input_number.emma_bedroom_bedtime_temp
|
||||||
|
data:
|
||||||
|
value: 68
|
||||||
|
alias: Set bedtime temp
|
||||||
|
- action: input_select.select_option
|
||||||
|
metadata: {}
|
||||||
|
target:
|
||||||
|
entity_id: input_select.scheduled_climate_mode_emma_bedroom
|
||||||
|
data:
|
||||||
|
option: AC
|
||||||
|
alias: Set scheduled mode to AC
|
||||||
|
- action: switch.turn_on
|
||||||
|
metadata: {}
|
||||||
|
target:
|
||||||
|
entity_id: switch.emma_bedroom_climate_watchdog
|
||||||
|
data: {}
|
||||||
|
alias: Turn on climate watchdog
|
||||||
|
- delay:
|
||||||
|
hours: 0
|
||||||
|
minutes: 0
|
||||||
|
seconds: 5
|
||||||
|
milliseconds: 0
|
||||||
|
- action: button.press
|
||||||
|
metadata: {}
|
||||||
|
target:
|
||||||
|
entity_id: button.emma_bedroom_bedtime_mode
|
||||||
|
data: {}
|
||||||
|
alias: Activate bedtime mode to apply new settings
|
||||||
|
- delay:
|
||||||
|
hours: 0
|
||||||
|
minutes: 1
|
||||||
|
seconds: 0
|
||||||
|
milliseconds: 0
|
||||||
|
- action: input_boolean.turn_off
|
||||||
|
metadata: {}
|
||||||
|
target:
|
||||||
|
entity_id: input_boolean.white_noise_emma_bedroom
|
||||||
|
data: {}
|
||||||
|
alias: Turn off white noise
|
||||||
|
mode: restart
|
||||||
|
|||||||
@@ -243,6 +243,10 @@ input_boolean:
|
|||||||
name: Emma Bedroom Heater Installed
|
name: Emma Bedroom Heater Installed
|
||||||
icon: mdi:heating-coil
|
icon: mdi:heating-coil
|
||||||
|
|
||||||
|
emma_bedroom_mode_switch:
|
||||||
|
name: Emma Bedroom Mode Switch
|
||||||
|
icon: mdi:swap-horizontal
|
||||||
|
|
||||||
input_select:
|
input_select:
|
||||||
scheduled_climate_mode_master_bedroom_aircon:
|
scheduled_climate_mode_master_bedroom_aircon:
|
||||||
name: Scheduled Climate Mode - Master Bedroom Aircon
|
name: Scheduled Climate Mode - Master Bedroom Aircon
|
||||||
@@ -273,6 +277,13 @@ input_select:
|
|||||||
- White Noise
|
- White Noise
|
||||||
- N/A
|
- N/A
|
||||||
icon: mdi:home-thermometer
|
icon: mdi:home-thermometer
|
||||||
|
emma_bedroom_mode_switch:
|
||||||
|
name: Emma Bedroom Mode Switch
|
||||||
|
options:
|
||||||
|
- To Aircon
|
||||||
|
- To Heater
|
||||||
|
initial: To Aircon
|
||||||
|
icon: mdi:swap-horizontal
|
||||||
|
|
||||||
input_number:
|
input_number:
|
||||||
master_bedroom_daytime_temp:
|
master_bedroom_daytime_temp:
|
||||||
@@ -401,6 +412,13 @@ input_number:
|
|||||||
step: 1
|
step: 1
|
||||||
unit_of_measurement: °F
|
unit_of_measurement: °F
|
||||||
icon: mdi:thermometer
|
icon: mdi:thermometer
|
||||||
|
emma_bedroom_auto_mode_threshold:
|
||||||
|
name: Emma Bedroom Auto Mode Threshold
|
||||||
|
min: 40
|
||||||
|
max: 80
|
||||||
|
step: 1
|
||||||
|
unit_of_measurement: °F
|
||||||
|
icon: mdi:thermometer
|
||||||
kallen_fan_threshold:
|
kallen_fan_threshold:
|
||||||
name: Kallen Fan Threshold
|
name: Kallen Fan Threshold
|
||||||
min: 40
|
min: 40
|
||||||
@@ -597,6 +615,27 @@ input_number:
|
|||||||
step: 1
|
step: 1
|
||||||
unit_of_measurement: °F
|
unit_of_measurement: °F
|
||||||
icon: mdi:thermometer-chevron-down
|
icon: mdi:thermometer-chevron-down
|
||||||
|
window_weather_minimum:
|
||||||
|
name: Window Weather Minimum
|
||||||
|
min: 40
|
||||||
|
max: 80
|
||||||
|
step: 1
|
||||||
|
unit_of_measurement: °F
|
||||||
|
icon: mdi:window-closed
|
||||||
|
window_weather_maximum:
|
||||||
|
name: Window Weather Maximum
|
||||||
|
min: 40
|
||||||
|
max: 80
|
||||||
|
step: 1
|
||||||
|
unit_of_measurement: °F
|
||||||
|
icon: mdi:window-closed
|
||||||
|
|
||||||
|
input_datetime:
|
||||||
|
emma_bedroom_mode_switch:
|
||||||
|
name: Emma Bedroom Mode Switch
|
||||||
|
has_date: false
|
||||||
|
has_time: true
|
||||||
|
icon: mdi:swap-horizontal
|
||||||
|
|
||||||
climate:
|
climate:
|
||||||
- platform: generic_thermostat
|
- platform: generic_thermostat
|
||||||
|
|||||||
@@ -742,6 +742,25 @@ template:
|
|||||||
state: "{{ state_attr('binary_sensor.severe_thunderstorm_warning','tornado_possible') }}"
|
state: "{{ state_attr('binary_sensor.severe_thunderstorm_warning','tornado_possible') }}"
|
||||||
device_class: safety
|
device_class: safety
|
||||||
icon: "{{ 'mdi:weather-tornado' if this.state == 'on' else 'mdi:close' }}"
|
icon: "{{ 'mdi:weather-tornado' if this.state == 'on' else 'mdi:close' }}"
|
||||||
|
- name: Window Weather
|
||||||
|
unique_id: 9b119394-cb05-44bb-9c6e-e8d5c882a470
|
||||||
|
state: >
|
||||||
|
{% set minimum_temp = states('input_number.window_weather_minimum') | int %}
|
||||||
|
{% set maximum_temp = states('input_number.window_weather_maximum') | int %}
|
||||||
|
{% set ns = namespace(raining=false) %}
|
||||||
|
{% for entity, dry_state in [
|
||||||
|
('binary_sensor.home_tempest_cloud_binary_sensors_is_raining', 'off'),
|
||||||
|
('sensor.home_tempest_cloud_sensors_precipitation_intensity', 'no_rain'),
|
||||||
|
('sensor.home_tempest_precipitation_type', 'none')
|
||||||
|
] %}
|
||||||
|
{% if states(entity) not in ['unavailable', 'unknown'] %}
|
||||||
|
{% if not is_state(entity, dry_state) %}
|
||||||
|
{% set ns.raining = true %}
|
||||||
|
{% endif %}
|
||||||
|
{% endif %}
|
||||||
|
{% endfor %}
|
||||||
|
{% set temp = state_attr('weather.iron_nerd_weather_station','temperature') %}
|
||||||
|
{{ (not ns.raining) and (minimum_temp <= temp <= maximum_temp) }}
|
||||||
- sensor:
|
- sensor:
|
||||||
# - name: Total Rain Sensors
|
# - name: Total Rain Sensors
|
||||||
# unique_id: b7c2e709-8f5c-4263-aa1d-fa8280afcddb
|
# unique_id: b7c2e709-8f5c-4263-aa1d-fa8280afcddb
|
||||||
|
|||||||
@@ -51,79 +51,87 @@ input_datetime:
|
|||||||
has_date: false
|
has_date: false
|
||||||
has_time: true
|
has_time: true
|
||||||
|
|
||||||
alarm_control_panel:
|
template:
|
||||||
- platform: template
|
- alarm_control_panel:
|
||||||
panels:
|
- name: Nerd Home Alarm Panel
|
||||||
nerdhome_alarm_panel:
|
unique_id: d7eb8335-4998-49bf-957e-231aeed35179
|
||||||
name: Nerd Home Alarm Panel
|
code_arm_required: false
|
||||||
unique_id: d7eb8335-4998-49bf-957e-231aeed35179
|
arm_away:
|
||||||
value_template: "{{ states('alarm_control_panel.stratton_ave_alarm') }}"
|
- if:
|
||||||
code_arm_required: false
|
- condition: state
|
||||||
arm_away:
|
entity_id:
|
||||||
- if:
|
- binary_sensor.security_faults
|
||||||
- condition: state
|
state: 'off'
|
||||||
entity_id: binary_sensor.security_faults
|
match: all
|
||||||
state: 'off'
|
then:
|
||||||
then:
|
- target:
|
||||||
- service: alarm_control_panel.alarm_arm_away
|
entity_id:
|
||||||
target:
|
- alarm_control_panel.stratton_ave_alarm
|
||||||
entity_id: alarm_control_panel.stratton_ave_alarm
|
|
||||||
data:
|
|
||||||
code: !secret ring_alarm_code
|
|
||||||
- service: input_boolean.turn_off
|
|
||||||
target:
|
|
||||||
entity_id:
|
|
||||||
- input_boolean.lockdown_issue
|
|
||||||
else:
|
|
||||||
- service: input_boolean.turn_on
|
|
||||||
target:
|
|
||||||
entity_id: input_boolean.lockdown_issue
|
|
||||||
arm_home:
|
|
||||||
- if:
|
|
||||||
- condition: state
|
|
||||||
entity_id: binary_sensor.security_faults
|
|
||||||
state: 'off'
|
|
||||||
then:
|
|
||||||
- service: alarm_control_panel.alarm_arm_home
|
|
||||||
target:
|
|
||||||
entity_id: alarm_control_panel.stratton_ave_alarm
|
|
||||||
data:
|
|
||||||
code: !secret ring_alarm_code
|
|
||||||
- service: input_boolean.turn_off
|
|
||||||
target:
|
|
||||||
entity_id:
|
|
||||||
- input_boolean.lockdown_issue
|
|
||||||
- if:
|
|
||||||
- condition: template
|
|
||||||
value_template: "{{ silent != 1 and is_state('input_boolean.vacation_mode','off') }}"
|
|
||||||
then:
|
|
||||||
- service: script.status_annc
|
|
||||||
data:
|
|
||||||
who: living_room
|
|
||||||
call_security_armed: 1
|
|
||||||
else:
|
|
||||||
- service: input_boolean.turn_on
|
|
||||||
target:
|
|
||||||
entity_id: input_boolean.lockdown_issue
|
|
||||||
disarm:
|
|
||||||
- service: alarm_control_panel.alarm_disarm
|
|
||||||
target:
|
|
||||||
entity_id: alarm_control_panel.stratton_ave_alarm
|
|
||||||
data:
|
data:
|
||||||
code: !secret ring_alarm_code
|
code: !secret ring_alarm_code
|
||||||
- service: input_boolean.turn_off
|
action: alarm_control_panel.alarm_arm_away
|
||||||
target:
|
- target:
|
||||||
entity_id: input_boolean.lockdown_issue
|
entity_id:
|
||||||
|
- input_boolean.lockdown_issue
|
||||||
|
action: input_boolean.turn_off
|
||||||
|
else:
|
||||||
|
- target:
|
||||||
|
entity_id:
|
||||||
|
- input_boolean.lockdown_issue
|
||||||
|
action: input_boolean.turn_on
|
||||||
|
arm_home:
|
||||||
|
- if:
|
||||||
|
- condition: state
|
||||||
|
entity_id:
|
||||||
|
- binary_sensor.security_faults
|
||||||
|
state: 'off'
|
||||||
|
match: all
|
||||||
|
then:
|
||||||
|
- target:
|
||||||
|
entity_id:
|
||||||
|
- alarm_control_panel.stratton_ave_alarm
|
||||||
|
data:
|
||||||
|
code: !secret ring_alarm_code
|
||||||
|
action: alarm_control_panel.alarm_arm_home
|
||||||
|
- target:
|
||||||
|
entity_id:
|
||||||
|
- input_boolean.lockdown_issue
|
||||||
|
action: input_boolean.turn_off
|
||||||
- if:
|
- if:
|
||||||
- condition: template
|
- condition: template
|
||||||
value_template: "{{ silent != 1 and is_state('input_boolean.vacation_mode','off') }}"
|
value_template: "{{ silent != 1 and is_state('input_boolean.vacation_mode','off') }}"
|
||||||
then:
|
then:
|
||||||
- service: script.status_annc
|
- data:
|
||||||
data:
|
|
||||||
who: living_room
|
who: living_room
|
||||||
call_security_not_armed: 1
|
call_security_armed: 1
|
||||||
|
action: script.status_annc
|
||||||
template:
|
else:
|
||||||
|
- target:
|
||||||
|
entity_id:
|
||||||
|
- input_boolean.lockdown_issue
|
||||||
|
action: input_boolean.turn_on
|
||||||
|
disarm:
|
||||||
|
- target:
|
||||||
|
entity_id:
|
||||||
|
- alarm_control_panel.stratton_ave_alarm
|
||||||
|
data:
|
||||||
|
code: !secret ring_alarm_code
|
||||||
|
action: alarm_control_panel.alarm_disarm
|
||||||
|
- target:
|
||||||
|
entity_id:
|
||||||
|
- input_boolean.lockdown_issue
|
||||||
|
action: input_boolean.turn_off
|
||||||
|
- if:
|
||||||
|
- condition: template
|
||||||
|
value_template: "{{ silent != 1 and is_state('input_boolean.vacation_mode','off') }}"
|
||||||
|
then:
|
||||||
|
- data:
|
||||||
|
who: living_room
|
||||||
|
call_security_not_armed: 1
|
||||||
|
action: script.status_annc
|
||||||
|
code_format: number
|
||||||
|
default_entity_id: alarm_control_panel.nerdhome_alarm_panel
|
||||||
|
state: "{{ states('alarm_control_panel.stratton_ave_alarm') }}"
|
||||||
- binary_sensor:
|
- binary_sensor:
|
||||||
- name: Windows
|
- name: Windows
|
||||||
unique_id: 9ff34cd4-c450-45d2-934a-b4a9fd8b93b2
|
unique_id: 9ff34cd4-c450-45d2-934a-b4a9fd8b93b2
|
||||||
|
|||||||
Reference in New Issue
Block a user