I’m having trouble with controlling the switch component of my TH16R2.
Home assistant is installed on a linux machine using HassIO - 2022.4.6
I have set up the generic thermostat as follows
climate: - platform: generic_thermostat name: Bedroom heater: switch.sonoff_10012a2bca target_sensor: sensor.sonoff_10012a2bca_temperature min_temp: 5 max_temp: 25 hot_tolerance: 0.5 initial_hvac_mode: heat ac_mode: false
However, on the dashboard the thermostat is visible, shows the room temperature, shows the set temperature but has no effect on the switch at all - if the flame icon is on or not.
I also have an entity card on the dashboard showing the switch and the measured temperature but turning that switch on results immediately in the switch turning off - again, independant of the set temp on the thermostat.
This behaviour is strange to me. I have no automations set up but I presumed (maybe incorrectly) that the thermostat would operate the switch?