-
Hello, I got issues calling the service to set the thermostat to away, here is the service I'm trying to call: service: climate.set_preset_mode And I get this as answer: I am trying to put this in an automation that sets the thermostat to away when I leave the house, like this: Any idea what I'm doing wrong? |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments
-
Please look at the example of how to set the preset mode in the home assistant documentation. https://www.home-assistant.io/integrations/climate/ Use the entity id, instead of device ids. If that doesn't work take a look at the climate entity in developer tools / states. There is an attribute called zoneEnabled if that is false that would prevent that service call from being available. Post a screen shot of those attributes. |
Beta Was this translation helpful? Give feedback.
-
Thanks Pete, appreciate the quick reply! In the test service call, I did try it on the entity directly. I've checked attributes, and I am missing the zoneenabled one :( |
Beta Was this translation helpful? Give feedback.
-
Please provide a complete list of the attributes and values. Best way is to copy the text and the paste as a code block. Use the slash icon on the leftmost of the GitHub text editor to insert a code block. Do the same with your automation YAML and the complete error reported in the home-assistant.log file. Finally, in the integration panel download and attach the diagnostics. |
Beta Was this translation helpful? Give feedback.
-
Here are the attributes and values:
Here is my automation YAML:
The error log:
The lines from home-assistant.log:
And finally, the diagnostic log: |
Beta Was this translation helpful? Give feedback.
-
Thank you. I see what is going on now. You have the E30 integrated using HomeKit, that interface has very limited capability and does not support things like preset modes or fan control. That communication path does not use this custom integration. This climate entity is from HomeKit. It does look like you have the Lennox integration installed. Have you tried to configure it? |
Beta Was this translation helpful? Give feedback.
-
Ha good catch, yeah I had the Lennox integration configured but it was showing only 4 sensors. Got rid of the HomeKit integration, reloaded the Lennox integration and everything looks waaaay better! |
Beta Was this translation helpful? Give feedback.
Thank you. I see what is going on now.
You have the E30 integrated using HomeKit, that interface has very limited capability and does not support things like preset modes or fan control. That communication path does not use this custom integration. This climate entity is from HomeKit.
It does look like you have the Lennox integration installed. Have you tried to configure it?