Thanks for helping. I can load it, but it doesn’t trigger anything. The logs shows
Error rendering data template: UndefinedError: ‘trigger’ is undefined
Tue Nov 12 2019 18:48:44 GMT+0100 (Central European Standard Time)
Error rendering data template: UndefinedError: 'trigger' is undefined
My input values are the same as in the state of the element
I’d check the capitalization on home and away to see if those need to be capitalized. Also, did you try changing the input_select when it gave you that error? Manually triggering the automation by pressing the trigger button in the UI will give you that error since there was no actual trigger.
I’ve checked both versions of the capitalization. Something gets to my system because I can see something flashing on the Honnywell app as if it received a directive. But it’s not acting on it.
Working solution:
I ditched the approach to use input_select directly to my thermostat (I was fedup of failing).
I used IFTTT instead and it works
Instructions if anybody need:
# in configuration.yaml
input_select:
thermostat_mode:
name: Thermostat Mode
options:
- "Zet Uit (off)"
- "Reset"
- "Woonkamer Opwarmen"
- "Tijdelijk Weg"
icon: mdi:target
#This will use webhooks from IFTTT.
#You need to generate a webhook read the doc here:
#https://www.home-assistant.io/integrations/ifttt/
ifttt:
key: [replace with your api key from webhook]
Honnywell - Evohome (my thermostats) have apps avalable in IFTTT. It was a simple matter of:
In IFTTT:
If :“webhooks” event = ha_evo_off,
then
That: “evohome” set status to whatever
(it’s all in the app - I needed to also configure access from evohome to IFTTT)