Tuya heater and High/Low power mode

Hi There,

I have a Tuya (kogan smater home) heater: https://www.kogan.com/au/buy/kogan-smarterhome-2000w-smart-glass-panel-heater/ that has a “High/Low” power setting. Does anyone have any idea how I can set the power level through HA? It keeps on randomly (??) setting to low power.

Cheers

Did you ever work out how to do this? Am looking to do the same!

Yes. I created scenes in the Tuya software and you can activate those from HA. :slight_smile:

Awesome! Do you mind sharing your code to activate the scene in HA?

- platform: template
    switches:
      thermostadt_mode:
        value_template: >-
          {% if is_state('input_boolean.thermostadt','on') %}
          On
          {% else %}
          Off
          {% endif %}
        friendly_name: 'Thermostadt (High/Low)'
        icon_template: >-
          {% if is_state('input_boolean.thermostadt','on') %}
            mdi:thermometer-chevron-up
          {% else %}
            mdi:thermometer-chevron-down
          {% endif %}
        turn_on:
        - service: scene.turn_on
          data:
            entity_id: scene.thermostadt_high
        - service: input_boolean.turn_on
          data:
            entity_id: input_boolean.thermostadt
        turn_off:
        - service: scene.turn_on
          data:
            entity_id: scene.thermostadt_low
        - service: input_boolean.turn_off
          data:
            entity_id: input_boolean.thermostadt
1 Like

Thanks for that! And do you have the scene code as well you could share?

You create the scene in the Tuya app itself and then it becomes available in HA. Im not sure if I had to restart/reconnect or if it just magically showed up after a while.

Thanks again, will check it out