Skip to content

Add services to evohome#29816

Merged
zxdavb merged 23 commits into
home-assistant:devfrom
zxdavb:evohome_add_services
Jan 18, 2020
Merged

Add services to evohome#29816
zxdavb merged 23 commits into
home-assistant:devfrom
zxdavb:evohome_add_services

Conversation

@zxdavb
Copy link
Copy Markdown
Member

@zxdavb zxdavb commented Dec 10, 2019

Breaking Change:

Known none.

Description:

Add services to evohome: these expose the full functionality of the system, beyond the restrictions of the HA climate schema - mainly the having the option of setting time limits for operating modes:

  • set_system_mode: Set the system mode, either indefinitely, or for a set period, after which it will revert to Auto
  • reset_system: Set the system to Auto mode and reset all the zones to follow their schedules (i.e. AutoWithReset mode)
  • force_refresh: Pull the latest data from the vendor's servers
  • set_zone_override: Override a zone's setpoint, either indefinitely, or for a set period, after which it will revert to following its schedule
  • clear_zone_override: Set a zone to follow its schedule

Related issue (if applicable): N/A

Pull request with documentation for home-assistant.io (if applicable): home-assistant/home-assistant.io#11422

Example entry for configuration.yaml (if applicable): unchanged

Checklist:

  • The code change is tested and works locally.
  • Local tests pass with tox. Your PR cannot be merged unless tests pass
  • There is no commented out code in this PR.
  • I have followed the development checklist

If user exposed functionality or configuration variables are added/changed:

If the code communicates with devices, web services, or third-party tools:

  • The manifest file has all fields filled out correctly. Update and include derived files by running python3 -m script.hassfest.
  • New or updated dependencies have been added to requirements_all.txt by running python3 -m script.gen_requirements_all.
  • Untested files have been added to .coveragerc.

@zxdavb
Copy link
Copy Markdown
Member Author

zxdavb commented Dec 10, 2019

@MartinHjelmare this is my first attempt at creating services for an integration, so your expert input would be gratefully received!

@MartinHjelmare MartinHjelmare changed the title add services to evohome Add services to evohome Dec 11, 2019
Comment thread homeassistant/components/evohome/__init__.py Outdated
Comment thread homeassistant/components/evohome/__init__.py Outdated
Comment thread homeassistant/components/evohome/__init__.py Outdated
Comment thread homeassistant/components/evohome/__init__.py Outdated
Comment thread homeassistant/components/evohome/__init__.py Outdated
Comment thread homeassistant/components/evohome/__init__.py Outdated
Comment thread homeassistant/components/evohome/climate.py Outdated
@zxdavb
Copy link
Copy Markdown
Member Author

zxdavb commented Dec 23, 2019

@MartinHjelmare Do you have a change to review this, specifically what I did with the voluptuous schemas?

@MartinHjelmare
Copy link
Copy Markdown
Member

I'll try to find some time.

@zxdavb
Copy link
Copy Markdown
Member Author

zxdavb commented Dec 24, 2019

I'll try to find some time.

Thanks Martin, I know you're in heavy demand, and it's a crazy time of year - I'll be more patient now.

Comment thread homeassistant/components/evohome/__init__.py Outdated
Comment thread homeassistant/components/evohome/__init__.py Outdated
Comment thread homeassistant/components/evohome/__init__.py Outdated
Comment thread homeassistant/components/evohome/__init__.py Outdated
Comment thread homeassistant/components/evohome/__init__.py Outdated
Comment thread homeassistant/components/evohome/__init__.py Outdated
Comment thread homeassistant/components/evohome/__init__.py Outdated
Comment thread homeassistant/components/evohome/climate.py Outdated
Comment thread homeassistant/components/evohome/climate.py Outdated
@zxdavb zxdavb changed the title Add services to evohome WIP: Add services to evohome Jan 16, 2020
@zxdavb zxdavb changed the title WIP: Add services to evohome Add services to evohome Jan 17, 2020
@zxdavb zxdavb merged commit a037c1d into home-assistant:dev Jan 18, 2020
@zxdavb zxdavb deleted the evohome_add_services branch January 18, 2020 12:23
@lock lock Bot locked and limited conversation to collaborators Jan 19, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants