various tidyups

This commit is contained in:
zorruno
2026-08-15 14:58:19 +12:00
parent c85ab28c10
commit dbb0a6a89c
30 changed files with 2977 additions and 684 deletions
+75
View File
@@ -0,0 +1,75 @@
##########################################################################################
# Bedroom 3 Morning Climate
##########################################################################################
#
# Turns on the Bedroom 3 heat pump at the selected morning time without
# changing its current HVAC mode, temperature, or other settings, then turns
# it off at 08:30.
#
##########################################################################################
---
input_boolean:
bedroom_3_morning_climate_enabled:
name: Bedroom 3 Morning Climate
icon: mdi:weather-sunny
initial: true
input_select:
bedroom_3_morning_climate_time:
name: Bedroom 3 Morning Climate Time
icon: mdi:clock-start
initial: "06:45"
options:
- "04:30"
- "04:45"
- "05:00"
- "05:15"
- "05:30"
- "05:45"
- "06:00"
- "06:15"
- "06:30"
- "06:45"
- "07:00"
- "07:15"
- "07:30"
- "07:45"
- "08:00"
- "08:15"
- "08:30"
- "08:45"
- "09:00"
- "09:15"
- "09:30"
- "09:45"
- "10:00"
automation:
- id: bedroom_3_morning_climate_start
alias: Bedroom 3 Morning Climate Start
description: >-
Turns on the Bedroom 3 heat pump at the selected time when enabled, then
turns it off at 08:30.
trigger:
- trigger: time_pattern
minutes: "/15"
condition:
- condition: state
entity_id: input_boolean.bedroom_3_morning_climate_enabled
state: "on"
- condition: template
value_template: >-
{{ now().strftime('%H:%M') ==
states('input_select.bedroom_3_morning_climate_time') }}
action:
- action: climate.turn_on
target:
entity_id: climate.mollie_s_room
- wait_template: >-
{{ now().hour > 8 or (now().hour == 8 and now().minute >= 30) }}
- action: climate.turn_off
target:
entity_id: climate.mollie_s_room