-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
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
Ecobee Integration Borked with Updated Climate #25222
Comments
To add presets to the list you have to add them here. like: PRESET_HOME = 'home'
PRESET_SLEEP = 'sleep'
PRESET_MODES = [
PRESET_AWAY,
PRESET_TEMPERATURE,
PRESET_HOLD_NEXT_TRANSITION,
PRESET_HOLD_INDEFINITE,
PRESET_HOME,
PRESET_SLEEP,
] |
I got that part, already tested it on mine. I was suggesting that at a minimum the default set should include Home and Sleep, and do away with Temperature Hold, Next Transition, and Indefinite. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Pull request submitted. |
Will go out in a couple of hours. Thanks @geekofweek |
Running 0.96.4 and it looks like the climate attribute hvac_action goes undefined if the Ecobee is not heating or cooling (as in hvac_action would normally say off) but the fan is on. I have a template sensor setup for the Ecobee's operating state which was originally defined as:
before 0.96.x but updated it to:
due to the changes in 0.96.x and found that that sensor would show no data every now and then but eventually tracked it down to when it wasn't heating and cooling but the fan was running. I changed my template to this:
to make sure the sensor reported off when only the fan was running. |
Home Assistant release with the issue:
0.96.0
Last working Home Assistant release (if known):
0.95.4
Operating environment (Hass.io/Docker/Windows/etc.):
Docker
Component/platform:
Ecobee
Description of problem:
Ecobee integration is borked and has some fairly significant breaking changes to previous functionally.
The major issue is that basically setting a preset hold does nothing.
The first issue is some typos with the function definition of preset_mode:
preset is being used instead of preset_mode
sometimes it was correct sometimes it wasn't
¯(ツ)/¯
It should be more like this:
That resolves it actually setting a preset, but then we get into the next issue. You can't use user defined presets, nor does it load the default presets Home or Sleep that are present on every Ecobee
So by default we should at least setup for the default Home and Sleep
Ecobee lets you set custom presets, called comfort profiles, these were able to be set previously, but now it does a check for one of the pre-canned presets and throws an error.
Removing the check and adding back in the else that does a catch all to the user input fixes it:
This list of Presets that are actually available to an Ecobee unit are called up via Climate List:
In my scenario it returns, which shows up as an attribute for the Ecobee device.
climate_list: Upstairs,Fireplace,Home,Sleep,Guest,Away
It would probably be more useful if the climate_list is what was used to populate the presets, as those are the actual presets. The current list of presets make very little sense.
Now that leads me to my next item, which is why is next_transition, indefinite, and temp defined as presets? Those really don't make much sense to have in there or show up in the UI as an option. Those are fairly useless as presets and essentially do nothing.
Problem-relevant
configuration.yaml
entries and (fill out even if it seems unimportant):Traceback (if applicable):
Additional information:
If I can find some time I'll try and get a pull request out tomorrow that at least fixes the core functionality. I've yet to try and tackle how to properly send back the list of presets that are available.
The text was updated successfully, but these errors were encountered: