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
26bb604243
Remove evohome hvac_action as it is inaccurate ( #38244 )
2020-07-27 15:20:18 +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
Erik Montnemery
f3d79104a7
Rename WaterHeaterDevice to WaterHeaterEntity ( #34675 )
...
* 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 ( #34591 )
2020-04-25 18:04:03 +02:00
springstan
eae21be5b9
Improve string formatting v6 ( #33698 )
2020-04-07 23:14:28 +02:00
Franck Nijhof
39336d3ea3
Add prettier (in pre-commit and CI) ( #33693 )
...
* 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 ( #33595 )
2020-04-03 12:58:19 -07:00
David Bonnes
9a099bdf0a
Ensure unique_ids for all evohome thermostats ( #32604 )
...
* initial commit
* small tweak
2020-03-16 11:04:12 +01: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
Eduard van Valkenburg
454e63b69e
Fix Evohome checking override duration ( #31697 )
2020-02-10 14:43:39 -08: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
8f37c843f5
Handle ghost zones gracefully ( #31008 )
2020-01-20 20:49:04 +00:00
David Bonnes
9b02ca96ba
Small tweaks for evohome ( #31007 )
2020-01-20 13:39:02 +00:00
David Bonnes
a40a5a754b
initial commit ( #30968 )
2020-01-19 14:29:15 -08:00
David Bonnes
a037c1d788
Add services to evohome ( #29816 )
2020-01-18 12:21:22 +00:00
David Bonnes
2c1e354537
evohome: allow two round thermostats per gateway ( #30589 )
...
* bugfix issue #30517
* 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) ( #30532 )
2020-01-07 08:19:17 +01:00
Franck Nijhof
a84741392b
Format all manifests with prettier ( #30521 )
2020-01-06 21:28:23 +01: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
f500367721
Handle all single zone thermostats ( #27168 )
2019-10-03 18:04:30 -07:00
Franck Nijhof
c7da781efc
Update documentation link URL for integrations in all manifests ( #27114 )
2019-10-02 09:25:44 -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
7cf0684aa1
[climate] Correct evohome hvac_action ( #25407 )
...
* inital commit
* take account of rounding up of curr_temp
2019-07-23 07:14:42 +02: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
Paulus Schoutsen
50d4921d0a
Introduce PRESET_NONE for climate ( #25360 )
...
* Introduce PRESET_NONE for climate
* Require preset mode to be a string
* Lint
* Fix tests
2019-07-21 11:00:42 -07:00
Ville Skyttä
22d9a73e8e
Doc lint fixes ( #25339 )
2019-07-20 15:30:36 +03:00
David Bonnes
2bac24fbb7
[climate] Tweak evohome migration ( #25187 )
...
* de-lint
* use _evo_tcs instead of _evo_device for TCS
* add hvac_action to zones, remove target_temp from controller
* fix incorrect hvac_action
* de-lint
2019-07-16 15:18:21 -07: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
Pascal Vizeli
84cf76ba36
Climate 1.0 ( #23899 )
...
* Climate 1.0 / part 1/2/3
* fix flake
* Lint
* Update Google Assistant
* ambiclimate to climate 1.0 (#24911 )
* Fix Alexa
* Lint
* Migrate zhong_hong
* Migrate tuya
* Migrate honeywell to new climate schema (#24257 )
* Update one
* Fix model climate v2
* Cleanup p4
* Add comfort hold mode
* Fix old code
* Update homeassistant/components/climate/__init__.py
Co-Authored-By: Paulus Schoutsen <paulus@home-assistant.io>
* Update homeassistant/components/climate/const.py
Co-Authored-By: Paulus Schoutsen <paulus@home-assistant.io>
* First renaming
* Rename operation to hvac for paulus
* Rename hold mode to preset mode
* Cleanup & update comments
* Remove on/off
* Fix supported feature count
* Update services
* Update demo
* Fix tests & use current_hvac
* Update comment
* Fix tests & add typing
* Add more typing
* Update modes
* Fix tests
* Cleanup low/high with range
* Update homematic part 1
* Finish homematic
* Fix lint
* fix hm mapping
* Support simple devices
* convert lcn
* migrate oem
* Fix xs1
* update hive
* update mil
* Update toon
* migrate deconz
* cleanup
* update tesla
* Fix lint
* Fix vera
* Migrate zwave
* Migrate velbus
* Cleanup humity feature
* Cleanup
* Migrate wink
* migrate dyson
* Fix current hvac
* Renaming
* Fix lint
* Migrate tfiac
* migrate tado
* Fix PRESET can be None
* apply PR#23913 from dev
* remove EU component, etc.
* remove EU component, etc.
* ready to test now
* de-linted
* some tweaks
* de-lint
* better handling of edge cases
* delint
* fix set_mode typos
* apply PR#23913 from dev
* remove EU component, etc.
* ready to test now
* de-linted
* some tweaks
* de-lint
* better handling of edge cases
* delint
* fix set_mode typos
* delint, move debug code
* away preset now working
* code tidy-up
* code tidy-up 2
* code tidy-up 3
* address issues #18932 , #15063
* address issues #18932 , #15063 - 2/2
* refactor MODE_AUTO to MODE_HEAT_COOL and use F not C
* add low/high to set_temp
* add low/high to set_temp 2
* add low/high to set_temp - delint
* run HA scripts
* port changes from PR #24402
* manual rebase
* manual rebase 2
* delint
* minor change
* remove SUPPORT_HVAC_ACTION
* Migrate radiotherm
* Convert touchline
* Migrate flexit
* Migrate nuheat
* Migrate maxcube
* Fix names maxcube const
* Migrate proliphix
* Migrate heatmiser
* Migrate fritzbox
* Migrate opentherm_gw
* Migrate venstar
* Migrate daikin
* Migrate modbus
* Fix elif
* Migrate Homematic IP Cloud to climate-1.0 (#24913 )
* hmip climate fix
* Update hvac_mode and preset_mode
* fix lint
* Fix lint
* Migrate generic_thermostat
* Migrate incomfort to new climate schema (#24915 )
* initial commit
* Update climate.py
* Migrate eq3btsmart
* Lint
* cleanup PRESET_MANUAL
* Migrate ecobee
* No conditional features
* KNX: Migrate climate component to new climate platform (#24931 )
* Migrate climate component
* Remove unused code
* Corrected line length
* Lint
* Lint
* fix tests
* Fix value
* Migrate geniushub to new climate schema (#24191 )
* Update one
* Fix model climate v2
* Cleanup p4
* Add comfort hold mode
* Fix old code
* Update homeassistant/components/climate/__init__.py
Co-Authored-By: Paulus Schoutsen <paulus@home-assistant.io>
* Update homeassistant/components/climate/const.py
Co-Authored-By: Paulus Schoutsen <paulus@home-assistant.io>
* First renaming
* Rename operation to hvac for paulus
* Rename hold mode to preset mode
* Cleanup & update comments
* Remove on/off
* Fix supported feature count
* Update services
* Update demo
* Fix tests & use current_hvac
* Update comment
* Fix tests & add typing
* Add more typing
* Update modes
* Fix tests
* Cleanup low/high with range
* Update homematic part 1
* Finish homematic
* Fix lint
* fix hm mapping
* Support simple devices
* convert lcn
* migrate oem
* Fix xs1
* update hive
* update mil
* Update toon
* migrate deconz
* cleanup
* update tesla
* Fix lint
* Fix vera
* Migrate zwave
* Migrate velbus
* Cleanup humity feature
* Cleanup
* Migrate wink
* migrate dyson
* Fix current hvac
* Renaming
* Fix lint
* Migrate tfiac
* migrate tado
* delinted
* delinted
* use latest client
* clean up mappings
* clean up mappings
* add duration to set_temperature
* add duration to set_temperature
* manual rebase
* tweak
* fix regression
* small fix
* fix rebase mixup
* address comments
* finish refactor
* fix regression
* tweak type hints
* delint
* manual rebase
* WIP: Fixes for honeywell migration to climate-1.0 (#24938 )
* add type hints
* code tidy-up
* Fixes for incomfort migration to climate-1.0 (#24936 )
* delint type hints
* no async unless await
* revert: no async unless await
* revert: no async unless await 2
* delint
* fix typo
* Fix homekit_controller on climate-1.0 (#24948 )
* Fix tests on climate-1.0 branch
* As part of climate-1.0, make state return the heating-cooling.current characteristic
* Fixes from review
* lint
* Fix imports
* Migrate stibel_eltron
* Fix lint
* Migrate coolmaster to climate 1.0 (#24967 )
* Migrate coolmaster to climate 1.0
* fix lint errors
* More lint fixes
* Fix demo to work with UI
* Migrate spider
* Demo update
* Updated frontend to 20190705.0
* Fix boost mode (#24980 )
* Prepare Netatmo for climate 1.0 (#24973 )
* Migration Netatmo
* Address comments
* Update climate.py
* Migrate ephember
* Migrate Sensibo
* Implemented review comments (#24942 )
* Migrate ESPHome
* Migrate MQTT
* Migrate Nest
* Migrate melissa
* Initial/partial migration of ST
* Migrate ST
* Remove Away mode (#24995 )
* Migrate evohome, cache access tokens (#24491 )
* add water_heater, add storage - initial commit
* add water_heater, add storage - initial commit
delint
add missing code
desiderata
update honeywell client library & CODEOWNER
add auth_tokens code, refactor & delint
refactor for broker
delint
* Add Broker, Water Heater & Refactor
add missing code
desiderata
* update honeywell client library & CODEOWNER
add auth_tokens code, refactor & delint
refactor for broker
* bugfix - loc_idx may not be 0
more refactor - ensure pure async
more refactoring
appears all r/o attributes are working
tweak precsion, DHW & delint
remove unused code
remove unused code 2
remove unused code, refactor _save_auth_tokens()
* support RoundThermostat
bugfix opmode, switch to util.dt, add until=1h
revert breaking change
* store at_expires as naive UTC
remove debug code
delint
tidy up exception handling
delint
add water_heater, add storage - initial commit
delint
add missing code
desiderata
update honeywell client library & CODEOWNER
add auth_tokens code, refactor & delint
refactor for broker
add water_heater, add storage - initial commit
delint
add missing code
desiderata
update honeywell client library & CODEOWNER
add auth_tokens code, refactor & delint
refactor for broker
delint
bugfix - loc_idx may not be 0
more refactor - ensure pure async
more refactoring
appears all r/o attributes are working
tweak precsion, DHW & delint
remove unused code
remove unused code 2
remove unused code, refactor _save_auth_tokens()
support RoundThermostat
bugfix opmode, switch to util.dt, add until=1h
revert breaking change
store at_expires as naive UTC
remove debug code
delint
tidy up exception handling
delint
* update CODEOWNERS
* fix regression
* fix requirements
* migrate to climate-1.0
* tweaking
* de-lint
* TCS working? & delint
* tweaking
* TCS code finalised
* remove available() logic
* refactor _switchpoints()
* tidy up switchpoint code
* tweak
* teaking device_state_attributes
* some refactoring
* move PRESET_CUSTOM back to evohome
* move CONF_ACCESS_TOKEN_EXPIRES CONF_REFRESH_TOKEN back to evohome
* refactor SP code and dt conversion
* delinted
* delinted
* remove water_heater
* fix regression
* Migrate homekit
* Cleanup away mode
* Fix tests
* add helpers
* fix tests melissa
* Fix nehueat
* fix zwave
* add more tests
* fix deconz
* Fix climate test emulate_hue
* fix tests
* fix dyson tests
* fix demo with new layout
* fix honeywell
* Switch homekit_controller to use HVAC_MODE_HEAT_COOL instead of HVAC_MODE_AUTO (#25009 )
* Lint
* PyLint
* Pylint
* fix fritzbox tests
* Fix google
* Fix all tests
* Fix lint
* Fix auto for homekit like controler
* Fix lint
* fix lint
2019-07-08 14:00:24 +02:00