-
Notifications
You must be signed in to change notification settings - Fork 14
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
Set Program #51
Comments
See comment here describing how to get/set schedules from the indoor unit: I would accept PRs implementing schedule maintenance calls in pykumo. If it were me I think a nice implementation would have 2 classes, something like:
A good place to start would be a low-level function simply accept a JSON dict and send it to a specific slot on the indoor unit. This could be used as a proof-of-concept, and as a building block for the fancier implementation. pykumo was written for (and as far as I can tell, primarily used with) Home Assistant. I don't think the Climate entities there currently support management of a schedule like this. But if I'm wrong and such functionality is available, it would be wise to understand how that looks so that it would be easy to hook up. |
Great thanks @dlarrick. I think something like that should work. Do you think there's a way to combine such a schedule feature in pykumo with the new Schedule helper in HA which (as of a recent update) allows you to add data attributes to each schedule block? I've never made a HA integration so am not sure if it's possible for integrations to interact in that way, but I do know that I currently use the Schedule integration in that way to set the temperatures of my units. (I have a Schedule helper for each unit, and each schedule block also defines "is_active, "temperature_if_winter" and "temperature_if_summer") Perhaps if there were a way to manage (and sync) a single Schedule entity for each Kumo Device in HA with the corresponding unit's schedule? Note that (currently) this advanced usage of Schedule is YAML-only, but I have to believe that it'll have a UI equivalent soon given it's fairly new and give HA wants to move more to UI config in general. |
All that functionality would be on the HomeAssistant side of things, with pykumo ability to view & manipulate the schedules as a prerequisite. There are plenty of other thermostatic systems that can or do keep their own schedules internally (in my own house I have Ecobee that certainly does). So hopefully such sync would not be specific to hass-kumo or any other climate integration. |
Hey @dlarrick - per your comment here (dlarrick/hass-kumo#142) I wanted to understand what it would take to start to view and edit the Program via pykumo and eventually HA.
I'd love to learn (or have you point me in the right direction) as to how to pull Program information, and just anything you've discovered by tinkering with the local API as it relates to the Program. Just a place for me to start!
Mentioning @jacobmovingfwd who was on the original issue too.
The text was updated successfully, but these errors were encountered: