Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to use is_preset_mode in Automation #39

Open
puck opened this issue Nov 15, 2020 · 1 comment
Open

Unable to use is_preset_mode in Automation #39

puck opened this issue Nov 15, 2020 · 1 comment
Labels
question Further information is requested

Comments

@puck
Copy link

puck commented Nov 15, 2020

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
@nicole-ashley
Copy link
Owner

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.

@nicole-ashley nicole-ashley added the question Further information is requested label May 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants