cnschulz
(Chris Schulz)
September 1, 2019, 10:49pm
1
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
benm7
(Ben M)
March 25, 2021, 4:17am
2
Did you ever work out how to do this? Am looking to do the same!
cnschulz
(Chris Schulz)
June 30, 2021, 3:37am
3
Yes. I created scenes in the Tuya software and you can activate those from HA.
benm7
(Ben M)
July 1, 2021, 12:01am
4
Awesome! Do you mind sharing your code to activate the scene in HA?
cnschulz
(Chris Schulz)
July 1, 2021, 4:00am
5
- 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
benm7
(Ben M)
July 1, 2021, 6:35am
6
Thanks for that! And do you have the scene code as well you could share?
cnschulz
(Chris Schulz)
July 2, 2021, 10:58pm
7
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.
benm7
(Ben M)
July 6, 2021, 1:43am
8
Thanks again, will check it out