epenet
5958e7c515
Improve type hints in evohome ( #87266 )
2023-02-03 16:18:10 +01:00
Franck Nijhof
b0cee0bc46
String formatting and max line length - Part 1 ( #84390 )
...
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-12-22 10:12:50 +01:00
Michaël Arnauts
7142b4ecac
Fixes some grammar mistakes ( #84283 )
2022-12-20 11:10:31 +01:00
epenet
e7ae2fada7
Remove evohome from mypy ignore list ( #75175 )
2022-07-14 21:40:39 +02:00
epenet
e16bd1e471
Remove evohome climate from mypy ignore list ( #75169 )
...
* Remove evohome climate from mypy ignore list
* Raise error
2022-07-14 13:46:37 +02:00
epenet
fa51a39f1d
Use instance attributes in evohome ( #74996 )
2022-07-11 17:24:35 +02:00
Franck Nijhof
8f4caf4141
Clean up accessing event helpers via hass ( #72011 )
2022-05-17 19:36:29 +02:00
Franck Nijhof
5f44d0f8f9
Clean up accessing storage.Store helper via hass ( #72009 )
2022-05-17 18:45:57 +02:00
Franck Nijhof
69cc6ab5f1
Clean up accessing entity_registry.async_get_registry helper via hass ( #72005 )
2022-05-17 16:40:45 +02:00
epenet
0b18459ab8
Use EntityFeature enum in evohome ( #69385 )
2022-04-06 11:53:41 +02:00
Franck Nijhof
f4aa18de31
Replace hass.helpers: async_call_later() ( #63929 )
2022-01-11 13:30:59 -08:00
epenet
c7cb26cbab
Use Platform enum in load_platform [a-l] ( #63750 )
2022-01-10 10:30:47 +01:00
epenet
656d383ba6
Ensure service calls are typed [e-g] ( #62912 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-28 14:23:01 +01:00
Ville Skyttä
8bc1509afa
Use HTTPStatus instead of HTTP_ consts and magic values in comp.../[de]* ( #57990 )
2021-10-22 16:28:56 +02:00
Marc Mueller
0815eede4b
Replace lists with tuples (2) ( #53685 )
2021-07-30 01:20:03 +02:00
Marc Mueller
f6b162bc39
Add pylint CodeStyle extension ( #53147 )
2021-07-19 06:57:06 -07:00
David Bonnes
28e9b9e01d
Add evohome water_heater service calls, bump client to 0.3.15 ( #50803 )
2021-05-19 11:41:20 +02:00
Franck Nijhof
168b3c100c
Remove HomeAssistantType alias - Part 4 ( #49515 )
2021-04-21 12:18:42 +02:00
Marc Mueller
91df3fa904
Update typing 06 ( #48039 )
2021-03-17 23:49:01 +01:00
Erik Montnemery
6c084ae6ce
Update integrations a-e to override extra_state_attributes() ( #47756 )
2021-03-11 16:51:03 +01:00
David Bonnes
bb146680ce
Eliminate evohome unhandled exceptions when client API call fails ( #43681 )
2020-11-27 12:05:51 +01:00
David Bonnes
5e3f4954f7
Code quality improvement for evohome ( #43678 )
2020-11-27 09:28:05 +01:00
David Bonnes
c2cc605343
Bugfix schedule assigned to wrong day of week ( #43676 )
2020-11-27 09:20:20 +01:00
David Bonnes
fd01636058
Fix evohome coroutine not allowed to be passed to HassJob ( #42730 )
2020-11-05 10:17:48 +01:00
Paulus Schoutsen
254e7eb407
Fix evohome scheduling coroutines ( #42821 )
2020-11-04 10:04:45 +01:00
David Bonnes
a84dc14569
Provide a more useful error message in evohome ( #42734 )
2020-11-02 14:53:22 +01:00
David Bonnes
bea1570354
Delint recent change to evohome ( #38294 )
2020-07-27 23:17:07 +02:00
David Bonnes
455ac1cadf
fix issue #34559 ( #38241 )
2020-07-26 21:13:10 +01:00
Tomasz
19e06c613b
convert_until isn't returning anything ( #38157 )
2020-07-24 15:24:19 +01:00
Franck Nijhof
53545c984b
Log lines do not end with a full stop ( #37527 )
2020-07-05 23:04:19 +02:00
springstan
eae21be5b9
Improve string formatting v6 ( #33698 )
2020-04-07 23:14:28 +02:00
David Bonnes
ae0ea0f088
Bugfix evohome converting non-UTC timezones ( #32120 )
...
* bugfix: correctly handle non-UTC TZs
* bugfix: system mode is always permanent
* bugfix: handle where until is none
* tweak: improve logging to support above fixes
2020-03-05 20:42:52 +00:00
Christian Clauss
df7d2b3aeb
Fix typos found by codespell ( #31243 )
...
* Fix typos found by codespell
* Fix typos found by codespell
* codespell: Furture ==> Future
* Update test_config_flow.py
* Update __init__.py
* Spellcheck: successfull ==> successful
* Codespell: unsuccesful ==> unsuccessful
* Codespell: cant ==> can't
* Codespell: firware ==> firmware
* Codespell: mimick ==> mimic
2020-01-31 08:33:00 -08:00
David Bonnes
e00388eea0
switch evohome to use a whitelist for valid zonetype ( #31047 )
2020-01-21 18:49:15 +00:00
David Bonnes
a037c1d788
Add services to evohome ( #29816 )
2020-01-18 12:21:22 +00:00
Ville Skyttä
99c7608fb4
Lint config cleanups ( #28864 )
...
* Remove bunch of unneeded lint exclusions
* Use symbolic names instead of identifiers in pylint disables
* Tighten scope of some pylint disables
2019-11-25 22:40:08 -08:00
David Bonnes
bce9f14751
isort the evohome code ( #27977 )
2019-10-20 20:20:53 +01:00
David Bonnes
425e7fd1a7
bugfix evohome and bump client ( #27968 )
...
* bump client to 0.3.4b1
* handle bad schedules that cause issue #27768
2019-10-20 17:51:08 +01:00
David Bonnes
44b6258e48
Add evohome high_precision temperatures ( #27513 )
...
* add high_precision (current) temperatures
* bump client to use aiohttp for v1 client
* token saving now event-driven rather than scheduled
* protection against invalid tokens that cause issues
* tweak error message
2019-10-16 10:32:25 +01:00
David Bonnes
45d4586bc2
Improve evohome debug logging ( #27178 )
...
* add debug logging for schedule updates
* add debug logging for schedules
* change back to debug from warn
2019-10-04 08:54:15 -07:00
David Bonnes
a1997ee891
Bugfix evohome ( #26810 )
...
* address issues #25984 , #25985
* small tweak
* refactor - fix bugs, coding erros, consolidate
* some zones don't have schedules
* some zones don't have schedules 2
* some zones don't have schedules 3
* fix water_heater, add away mode
* readbility tweak
* bugfix: no refesh after state change
* bugfix: no refesh after state change 2
* temove dodgy wrappers (protected-access), fix until logic
* remove dodgy _set_zone_mode wrapper
* tweak
* tweak docstrings
* refactor as per PR review
* refactor as per PR review 3
* refactor to use dt_util
* small tweak
* tweak doc strings
* remove packet from _refresh
* set_temp() don't have until
* add unique_id
* add unique_id 2
2019-09-30 21:35:10 -07:00
David Bonnes
4661f2a6df
Initial commit ( #26383 )
2019-09-03 23:16:31 -07:00
David Bonnes
f91dd4f5f8
Change evohome to asyncio client ( #26042 )
...
* fully async now
* add convergence (call update() 2 seconds after client API call) (issue#25400)
* handle dead TRVs (e.g. flat battery)
2019-09-01 11:45:41 +01:00
Rick van Hattem
000d3d4fde
[bugfix] Exception if vendor's servers are currently unavailable ( #26093 )
2019-08-20 23:27:59 +02:00
Paulus Schoutsen
0ccffc3e55
Lint
2019-07-31 12:46:17 -07:00
Paulus Schoutsen
4de97abc3a
Black
2019-07-31 12:25:30 -07:00
David Bonnes
bf37cc8371
Tweak evohome migration ( #25281 )
...
* Initial commit
add hvac_action to zones, remove target_temp from controller
fix incorrect hvac_action
de-lint
Initial commit
de-lint & minor refactor
tweak docstrings, and type hints
tweak docstrings
* refactor setpoints property
* tweak docstring
* tweak docstring
* avoid a unnecessary I/O
* avoid unnecessary I/O
* refactor schedule/setpoints
* remove type hint
* remove type hint 2
* tweak code
* delint type hints
* fix regression
2019-07-22 10:45:31 +02:00
David Bonnes
3ddd482cc1
[climate-1.0] Add RoundThermostat to evohome ( #25141 )
...
* initial commit
* improve enumeration of zone(s)
* remove unused self._config
* remove unused self._config 2
* remove unused self._id
* clean up device_state_attributes
* remove some pylint: disable=protected-access
* remove LOGGER.warn(
* refactor for RoundThermostat
* ready for review
* small tweak
* small tweak 2
* fix regression, tweak
* tidy up docstring
* simplify code
2019-07-14 20:14:24 -07:00
David Bonnes
3480e6229a
[climate-1.0] Bugfix evohome showstopper ( #25139 )
...
* initial commit
* small tweak
2019-07-14 09:40:06 -07:00
David Bonnes
de43237f6d
[climate] Add water_heater to evohome ( #25035 )
...
* initial commit
* refactor for sync
* minor tweak
* refactor convert code
* fix regression
* remove bad await
* de-lint
* de-lint 2
* address edge case - invalid tokens
* address edge case - delint
* handle no schedule
* improve support for RoundThermostat
* tweak logging
* delint
* refactor for greatness
* use time_zone: for state attributes
* small tweak
* small tweak 2
* have datetime state attributes as UTC
* have datetime state attributes as UTC - delint
* have datetime state attributes as UTC - tweak
* missed this - remove
* de-lint type hint
* use parse_datetime instead of datetime.strptime)
* remove debug code
* state atrribute datetimes are UTC now
* revert
* de-lint (again)
* tweak type hints
* de-lint (again, again)
* tweak type hints
* Convert datetime closer to sending it out
2019-07-12 21:29:45 +02:00