Skip to content

Ecobee hold modes with presets #45936

@geekofweek

Description

@geekofweek

The problem

Pull request #40520 has added an un-intended side effect issue with setting presets.

If the Ecobee Hold Action preference is anything other than "Until the next scheduled activity" it throws an error as it appears to not pass the holdHours variable that it is requesting. This includes setting a preset via the Lovelace UI and automations.

What is version of Home Assistant Core has the issue?

core-2021.2.0

What was the last working version of Home Assistant Core?

core-2021.1.5

What type of installation are you running?

Home Assistant Container

Integration causing the issue

Ecobee

Link to integration documentation on our website

https://www.home-assistant.io/integrations/ecobee/

Example YAML snippet

# Put your YAML below this line

Anything in the logs that might be useful for us?

# Put your logs below this line
[pyecobee] Error from ecobee while attempting to set climate hold: 11: Function error. holdHours parameter is required when holdType is holdHours and must be > 0 Function: setHold

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions