Skip to content

Commit

Permalink
Merge pull request #567 from Krilo89/patch-1
Browse files Browse the repository at this point in the history
fix: removed deprecated payload_template from yaml
  • Loading branch information
Egyras authored Oct 28, 2024
2 parents c28667f + 1bd740f commit ff84923
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions Integrations/Home Assistant/heishamon.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@
## 1.5.2 (28-12-2023)
## Fixed
## - Wait to enable selectors automations
## 1.6.0 (27-10-2024)
## Fixed
## - Fix deprecation payload_template for mqtt in version 2025.2.0, see https://github.com/home-assistant/core/issues/123865

# Automations #
###############
Expand Down Expand Up @@ -69,7 +72,7 @@ automation:
data_template:
topic: panasonic_heat_pump/commands/SetQuietMode
retain: false #IMPORTANT! ALWAYS set retain flag false for commands!
payload_template: >-
payload: >-
{%- if states('input_select.heishamon_quietmode') == "Off" -%}
0
{%- else -%}
Expand Down Expand Up @@ -112,7 +115,7 @@ automation:
data_template:
topic: panasonic_heat_pump/commands/SetPowerfulMode
retain: false #IMPORTANT! ALWAYS set retain flag false for commands!
payload_template: >-
payload: >-
{%- if states('input_select.heishamon_powermode') == "Off" -%}
0
{%- else -%}
Expand Down Expand Up @@ -169,7 +172,7 @@ automation:
data_template:
topic: panasonic_heat_pump/commands/SetOperationMode
retain: false #IMPORTANT! ALWAYS set retain flag false for commands!
payload_template: >-
payload: >-
{%- if states('input_select.heishamon_heatmode') == "Heat" -%}
0
{%- elif states('input_select.heishamon_heatmode') == "Cool" -%}
Expand Down Expand Up @@ -218,7 +221,7 @@ automation:
data_template:
topic: panasonic_heat_pump/commands/SetZ1HeatRequestTemperature
retain: false #IMPORTANT! ALWAYS set retain flag false for commands!
payload_template: >-
payload: >-
{{ "%.0f" % (states('input_number.heishamon_heatshift_z1') | int) }}
- delay:
hours: 0
Expand Down Expand Up @@ -253,7 +256,7 @@ automation:
data_template:
topic: panasonic_heat_pump/commands/SetZ2HeatRequestTemperature
retain: false #IMPORTANT! ALWAYS set retain flag false for commands!
payload_template: >-
payload: >-
{{ "%.0f" % (states('input_number.heishamon_heatshift_z2') | int) }}
- delay:
hours: 0
Expand Down Expand Up @@ -288,7 +291,7 @@ automation:
data_template:
topic: panasonic_heat_pump/commands/SetDHWTemp
retain: false #IMPORTANT! ALWAYS set retain flag false for commands!
payload_template: >-
payload: >-
{{ "%.0f" % (states('input_number.heishamon_tank_temp') | int) }}
- delay:
hours: 0
Expand Down

0 comments on commit ff84923

Please sign in to comment.