Commit Graph

71 Commits (bbbbcfbb93c3b6dd8cf667be3a283c069ffa5522)

Author SHA1 Message Date
Ville Skyttä 8bc1509afa
Use HTTPStatus instead of HTTP_ consts and magic values in comp.../[de]* () 2021-10-22 16:28:56 +02:00
Marc Mueller be201e3ebe
Use assignment expressions 27 () 2021-10-22 11:29:21 +02:00
Marc Mueller 748d915909
Don't override methods marked as final () 2021-10-11 15:24:06 +02:00
Marc Mueller 0815eede4b
Replace lists with tuples (2) () 2021-07-30 01:20:03 +02:00
Marc Mueller f6b162bc39
Add pylint CodeStyle extension () 2021-07-19 06:57:06 -07:00
tkdrob 028a07d86f
Wrap up selectors ()
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-05-25 14:45:17 +02:00
David Bonnes 28e9b9e01d
Add evohome water_heater service calls, bump client to 0.3.15 () 2021-05-19 11:41:20 +02:00
tkdrob 0eca26607d
Add targets and selectors for services (D-E) () 2021-05-15 09:25:19 +02:00
Franck Nijhof 168b3c100c
Remove HomeAssistantType alias - Part 4 () 2021-04-21 12:18:42 +02:00
Franck Nijhof 055cdc64c0
Add support for IoT class in manifest () 2021-04-15 10:21:38 +02:00
Marc Mueller 91df3fa904
Update typing 06 () 2021-03-17 23:49:01 +01:00
Erik Montnemery 6c084ae6ce
Update integrations a-e to override extra_state_attributes() () 2021-03-11 16:51:03 +01:00
David Bonnes d53f1e98ac
bump client library () 2021-03-10 18:58:04 +01:00
David Bonnes bb146680ce
Eliminate evohome unhandled exceptions when client API call fails () 2020-11-27 12:05:51 +01:00
David Bonnes 5e3f4954f7
Code quality improvement for evohome () 2020-11-27 09:28:05 +01:00
David Bonnes c2cc605343
Bugfix schedule assigned to wrong day of week () 2020-11-27 09:20:20 +01:00
David Bonnes fd01636058
Fix evohome coroutine not allowed to be passed to HassJob () 2020-11-05 10:17:48 +01:00
Paulus Schoutsen 254e7eb407
Fix evohome scheduling coroutines () 2020-11-04 10:04:45 +01:00
David Bonnes a84dc14569
Provide a more useful error message in evohome () 2020-11-02 14:53:22 +01:00
David Bonnes bea1570354
Delint recent change to evohome () 2020-07-27 23:17:07 +02:00
David Bonnes 26bb604243
Remove evohome hvac_action as it is inaccurate () 2020-07-27 15:20:18 +02:00
David Bonnes 455ac1cadf
fix issue () 2020-07-26 21:13:10 +01:00
Tomasz 19e06c613b
convert_until isn't returning anything () 2020-07-24 15:24:19 +01:00
Franck Nijhof 53545c984b
Log lines do not end with a full stop () 2020-07-05 23:04:19 +02:00
Erik Montnemery f3d79104a7
Rename WaterHeaterDevice to WaterHeaterEntity ()
* Rename WaterHeaterDevice to WaterHeaterEntity

* Fix stale name

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-05-01 16:29:14 +02:00
Erik Montnemery 29bc93ea98
Rename ClimateDevice to ClimateEntity () 2020-04-25 18:04:03 +02:00
springstan eae21be5b9
Improve string formatting v6 () 2020-04-07 23:14:28 +02:00
Franck Nijhof 39336d3ea3
Add prettier (in pre-commit and CI) ()
* Add prettier (in pre-commit and CI)

* Make all file prettier

* Change order

* Add to Azure Pipelines

* Fix a YAML file prettier caught as invalid

* Remove flow mapping using curly braces from all YAML service files
2020-04-05 17:27:16 +02:00
Paulus Schoutsen f1d3c0d19b
Remove unused manifest fields () 2020-04-03 12:58:19 -07:00
David Bonnes 9a099bdf0a
Ensure unique_ids for all evohome thermostats ()
* initial commit

* small tweak
2020-03-16 11:04:12 +01:00
David Bonnes ae0ea0f088
Bugfix evohome converting non-UTC timezones ()
* 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
Eduard van Valkenburg 454e63b69e
Fix Evohome checking override duration () 2020-02-10 14:43:39 -08:00
Christian Clauss df7d2b3aeb
Fix typos found by codespell ()
* 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 () 2020-01-21 18:49:15 +00:00
David Bonnes 8f37c843f5
Handle ghost zones gracefully () 2020-01-20 20:49:04 +00:00
David Bonnes 9b02ca96ba
Small tweaks for evohome () 2020-01-20 13:39:02 +00:00
David Bonnes a40a5a754b initial commit () 2020-01-19 14:29:15 -08:00
David Bonnes a037c1d788
Add services to evohome () 2020-01-18 12:21:22 +00:00
David Bonnes 2c1e354537
evohome: allow two round thermostats per gateway ()
* bugfix issue 
* bump library, tweak name in manifest
* remove lint hint
2020-01-08 18:57:28 +00:00
Franck Nijhof 345cc244ed
Correct names in manifests (C-L) () 2020-01-07 08:19:17 +01:00
Franck Nijhof a84741392b
Format all manifests with prettier () 2020-01-06 21:28:23 +01:00
Ville Skyttä 99c7608fb4 Lint config cleanups ()
* 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 () 2019-10-20 20:20:53 +01:00
David Bonnes 425e7fd1a7
bugfix evohome and bump client ()
* bump client to 0.3.4b1

* handle bad schedules that cause issue 
2019-10-20 17:51:08 +01:00
David Bonnes 44b6258e48
Add evohome high_precision temperatures ()
* 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 ()
* 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 f500367721 Handle all single zone thermostats () 2019-10-03 18:04:30 -07:00
Franck Nijhof c7da781efc Update documentation link URL for integrations in all manifests () 2019-10-02 09:25:44 -07:00
David Bonnes a1997ee891 Bugfix evohome ()
* address issues , 

* 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 () 2019-09-03 23:16:31 -07:00