I’m new here and very new to YAML, so sorry if this is obvious to everyone else, but I can’t get the thermostat card in HA to switch on/off my thermostat. I want it to control a sonoff basic, running Tasmota, with a AM2301 attached.
Here is the YAML extract for the relevant functions. The switch works in it’s own right, i.e. I can switch it on/off via HA and the sensor also works and can be displayed in HA but no matter what I set the temperature to on the thermostat card, it does not switch the sonoff on/off, it just displays idol even when the temperature is below the set point:
I’ve had a play around with the configuration.yaml and it now looks like this. The thermostat is seeing the sensor temperature but sits at ‘Idle’ all the time, even when there is a requirement for it to be on:
@123, that is the solution, thank you very much. Sometimes these things need a fresh pair of eyes, as I was staring at this yaml for ages and never saw that syntax error.