nicole-ashley/homeassistant-goldair-climate

Unable to use is_preset_mode in Automation

puck opened this issue · 1 comments

puck commented

I'm not sure if this is the right place to raise this issue, but I'll try here first.

I'm not able to use the 'is_preset_mode' condition on a heater to check the mode. In the UI for creating automations, if I have:

condition: device
device_id: XXX
domain: climate
entity_id: climate.adam_s_heater
type: is_preset_mode
preset_modes: Comfort

Then when I attempt to save the automation I'm told: Message malformed: not a valid value for dictionary value @ data['type']
I have tried the three options I have: Comfort, Eco & Anti-Freeze

I can happily change the mode using 'preset_mode'.

I am currently using, but it'd be nice to only try and change the state if it isn't already in the other mode.

condition: device
device_id: XXX
domain: climate
entity_id: climate.adam_s_heater
type: is_hvac_mode
hvac_mode: heat

Hi @puck, apologies for not seeing this sooner. I've not been paying as much attention to this integration as I should have due to it being summer! Did you have any luck figuring this out? It sounds to me like it's HA Core functionality but if there's anything that can be tweaked in this integration to facilitate it let me know.