Hi I have set up an automation on my zigbee thermostat:
I know the action works as i can click the run now button and it sends me a message. The thermostat is working as i can see the temperature and the temp changes are accurate:
Please format your code correctly using the code button </>
A few pointers try using state instead of device, with the temp as a condition.
This will only trigger when the temp goes from above 21 to below 21 or below 24 to above 24.
This is really what the generic thermostat is for and you will find it far easier.
I was looking at the generic thermostat but it looks like it needs to be hooked up with actuator switch for heating / cooling. I agree this does look far better and on the forums this seems to be the best way forward. If you can help me on getting around this i am happy to use it.
Just use a helper for that. I did it for my thermostats as they do not “switch” anything but i control an OT device for that (and that doesnt even switch, just tells setpoints)
Settings → Devices and Services → Helpers → Create Helper → Toggle
I can’t tell fully if that automation is right because you need to fix the formatting. but make sure this is not what you are running into.
Trigger only happens when the value passes thru their on / off thresholds,
I have had a play with the state and it seems to be the way to go. Unfortunately my daughter has took the thermostats off the wall and has put them in her play room somewhere as biscuits for her tea party. Until I find them I cant test anything but i will try it out once I find them.
Thanks guys!