Paul
2019-07-18 23:06:36 +02:00
parent ed25e89780
commit 3b986c2e28
2 changed files with 3 additions and 3 deletions

View File

@@ -21,7 +21,7 @@
- platform: mqtt
name: boiler
modes:
- "on"
- "auto"
- "off"
min_temp: 40
max_temp: 60
@@ -31,6 +31,6 @@
temperature_command_topic: "home/ems-esp/boiler_cmd_wwtemp"
current_temperature_template: "{{ value_json.wWCurTmp }}"
temperature_state_template: "{{ value_json.wWSelTemp }}"
mode_state_template: "{{ value_json.wWActivated }}"
mode_state_template: "{% if value_json.wWActivated == 'off' %} off {% else %} auto {% endif %}"
mode_state_topic: "home/ems-esp/boiler_data"
mode_command_topic: "home/ems-esp/wwactivated"