package updates
This commit is contained in:
@@ -1,7 +1,14 @@
|
||||
###############################################################################
|
||||
# PACKAGE: Free Power Time Automation
|
||||
###############################################################################
|
||||
#:########################################################################################:#
|
||||
# PACKAGE: Free Power Time Automation #
|
||||
#:########################################################################################:#
|
||||
# VERSION:
|
||||
# 1.1.0 - 2026-06-24
|
||||
# - Changed gas-to-heatpump handover so the heat pump setpoint is offset from
|
||||
# the gas heater setpoint.
|
||||
# - Default heat pump offset is now -5 degrees C.
|
||||
# - The offset remains YAML-only and can be changed inside
|
||||
# script.free_power_gas_heater_changeover.
|
||||
#
|
||||
# 1.0.0 - 2026-05-08
|
||||
# - Initial package.
|
||||
# - Adds editable free power start/end times.
|
||||
@@ -21,11 +28,11 @@
|
||||
# - input_datetime initial values are used to provide defaults.
|
||||
# - If you later want UI changes to survive every HA restart, remove the
|
||||
# initial lines after the helpers have been created and set once.
|
||||
###############################################################################
|
||||
#:########################################################################################:#
|
||||
|
||||
###############################################################################
|
||||
# INPUT DATETIME
|
||||
###############################################################################
|
||||
#:########################################################################################:#
|
||||
# INPUT DATETIME #
|
||||
#:########################################################################################:#
|
||||
|
||||
input_datetime:
|
||||
free_power_start_time:
|
||||
@@ -42,9 +49,9 @@ input_datetime:
|
||||
initial: "00:00:00"
|
||||
icon: mdi:clock-end
|
||||
|
||||
###############################################################################
|
||||
# ENABLE SWITCHES
|
||||
###############################################################################
|
||||
#:########################################################################################:#
|
||||
# ENABLE SWITCHES #
|
||||
#:########################################################################################:#
|
||||
|
||||
input_boolean:
|
||||
free_power_automation_enabled:
|
||||
@@ -67,9 +74,9 @@ input_boolean:
|
||||
name: Free Power - Underhouse Dehumidifier Enable
|
||||
icon: mdi:air-humidifier
|
||||
|
||||
###############################################################################
|
||||
# TEMPLATE SENSORS
|
||||
###############################################################################
|
||||
#:########################################################################################:#
|
||||
# TEMPLATE SENSORS #
|
||||
#:########################################################################################:#
|
||||
|
||||
template:
|
||||
- binary_sensor:
|
||||
@@ -91,9 +98,9 @@ template:
|
||||
{{ now_mins >= start_mins or now_mins < end_mins }}
|
||||
{% endif %}
|
||||
|
||||
###############################################################################
|
||||
# SCRIPTS
|
||||
###############################################################################
|
||||
#:########################################################################################:#
|
||||
# SCRIPTS #
|
||||
#:########################################################################################:#
|
||||
|
||||
script:
|
||||
free_power_start_actions:
|
||||
@@ -219,6 +226,17 @@ script:
|
||||
sequence:
|
||||
###########################################################################
|
||||
# YAML-only settings
|
||||
#
|
||||
# heatpump_setpoint_offset_c:
|
||||
# This is added to the current gas heater setpoint.
|
||||
#
|
||||
# Example:
|
||||
# Gas heater setpoint: 22
|
||||
# heatpump_setpoint_offset: -5
|
||||
# Heat pump setpoint: 17
|
||||
#
|
||||
# To make the heat pump only 4 degrees lower, change this to -4.
|
||||
# To match the gas heater setpoint exactly, change this to 0.
|
||||
###########################################################################
|
||||
|
||||
- variables:
|
||||
@@ -227,7 +245,7 @@ script:
|
||||
heatpump_climate_entity: climate.lounge
|
||||
|
||||
gas_heater_shutdown_delay_seconds: 60
|
||||
heatpump_setpoint_offset_c: 0
|
||||
heatpump_setpoint_offset_c: -5
|
||||
|
||||
heatpump_setpoint: >-
|
||||
{{
|
||||
@@ -253,19 +271,22 @@ script:
|
||||
{{ states(gas_heater_setpoint_entity) not in ['unknown', 'unavailable', 'none', 'None', ''] }}
|
||||
|
||||
###########################################################################
|
||||
# Set the Panasonic heatpump to heat mode and match the gas heater setpoint,
|
||||
# with the YAML-only offset applied.
|
||||
# Set the Panasonic heat pump to heat mode.
|
||||
#
|
||||
# The target temperature is the gas heater setpoint plus the YAML-only
|
||||
# offset above. With the default offset of -5, a gas heater setpoint of
|
||||
# 22 degrees will set the heat pump to 17 degrees.
|
||||
###########################################################################
|
||||
|
||||
- action: climate.set_temperature
|
||||
target:
|
||||
entity_id: climate.lounge
|
||||
entity_id: "{{ heatpump_climate_entity }}"
|
||||
data:
|
||||
hvac_mode: heat
|
||||
temperature: "{{ heatpump_setpoint }}"
|
||||
|
||||
###########################################################################
|
||||
# Give the heatpump time to start before turning the gas heater off.
|
||||
# Give the heat pump time to start before turning the gas heater off.
|
||||
###########################################################################
|
||||
|
||||
- delay:
|
||||
@@ -273,11 +294,11 @@ script:
|
||||
|
||||
- action: switch.turn_off
|
||||
target:
|
||||
entity_id: switch.rinnai_neo_gas_heater_heater_operation
|
||||
entity_id: "{{ gas_heater_operation_entity }}"
|
||||
|
||||
###############################################################################
|
||||
# AUTOMATIONS
|
||||
###############################################################################
|
||||
#:########################################################################################:#
|
||||
# AUTOMATIONS #
|
||||
#:########################################################################################:#
|
||||
|
||||
automation:
|
||||
- id: free_power_time_start_actions
|
||||
|
||||
Reference in New Issue
Block a user