New electric water heater / boiler (integrated with HA)

Thank you! very nice integration! for now I only miss the enable boost function.

Since update 2023.12 we need to change the command_line script in the configuration.yaml. (see the patch nodes)

I’ve updated the script earlier shared in this topic to the new format. If you see some errors please let me know and I hope someone can use this.

Don’t forget to change [IP Tesy Boiler]

command_line:
  - switch:
      name: Tesy Boost on/off
      command_on: curl -X GET "http://[IP Tesy Boiler]/api?name=bst&set=1"
      command_off: curl -X GET "http://[IP Tesy Boiler]/api?name=bst&set=0"
      command_state: curl -sX GET http://[IP Tesy Boiler]/api?name=_all
      value_template: "{{ value_json['bst'] == '1' }}"
      icon: >
        {% if value_json['bst'] == '0' %} mdi:rocket
        {% elif value_json['bst'] == '1' %} mdi:rocket-launch
        {% else %} mdi:help-circle
        {% endif %}
  - switch:
      name: Tesy Power on/off
      command_on: curl -X GET "http://[IP Tesy Boiler]/api?name=pwr&set=1"
      command_off: curl -X GET "http://[IP Tesy Boiler]/api?name=pwr&set=0"
      command_state: curl -sX GET http://[IP Tesy Boiler]/api?name=_all
      value_template: "{{ value_json['pwr'] == '1' }}"
      icon: >
        {% if value_json['pwr'] == '0' %} mdi:toggle-switch
        {% elif value_json['pwr'] == '1' %} mdi:toggle-switch-off
        {% endif %}