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
Jc2k
ad3c5240c2
Bump aiohomekit version to fix Ecobee Switch ( #33396 )
2020-03-29 22:38:52 +02:00
Patryk
ad9f4db983
Add leak sensor support to Homekit integration ( #33171 )
...
* Add leak sensor support to Homekit integration
* Add leak entries to binary_sensor/strings.json
* Revert changes from binary_sensor
* Fix
* Review fix
2020-03-24 13:49:01 -07:00
HomeAssistant Azure
763ed0dc7b
[ci skip] Translation update
2020-03-24 13:18:47 +00:00
Jc2k
84712d2f40
Bump aiohomekit to fix Insignia NS-CH1XGO8 and Lennox S30 ( #33014 )
2020-03-19 16:25:18 -07:00
Jc2k
34e44e7f3a
Add support for homekit valve accessories to homekit_controller ( #32937 )
2020-03-18 21:20:40 +00:00
Jc2k
7c79adad8f
Refactor and simplify homekit_controller entity setup ( #32927 )
2020-03-18 10:12:55 -05:00
Jason Lachowsky
77b3f31e9b
Corrected minor misspellings ( #32857 )
2020-03-16 11:58:12 +01:00
Jc2k
6affb27711
Fix homekit_controller beta connectivity issues ( #32810 )
2020-03-14 23:34:29 +01:00
Jc2k
ffe8b94d75
Simplfy homekit_controller characteristic writes ( #32683 )
2020-03-11 09:27:20 -07:00
Jc2k
365578d053
Update homekit_controller to use CharacteristicPermissions constants ( #32679 )
2020-03-11 12:34:19 +00:00
Jc2k
647d137daa
Refactor homekit_controller entity update to work more like update coordinator ( #32670 )
...
* Clean up use of get_characteristic_types
* Get rid of get_hk_char_value helper
* Get rid of _update_fn callbacks
* Call async_write_has_state directly as async_state_changed doesnt do anything any more
2020-03-11 07:40:47 -04:00
Jc2k
1b5c9e922d
Bump aiohomekit for more reconnect fixes ( #32657 )
2020-03-10 20:38:06 -04:00
Jc2k
c11a462f51
Clean up homekit_controller entity setup ( #32628 )
2020-03-10 12:06:44 +01:00
Jc2k
19faf06ce7
homekit_controller fixes from testing with an LG TV: ( #32610 )
...
* Bump aiohomekit to get better reconnection handling and cleaner shutdowns.
* Read the ACTIVE characteristic and set ok/problem state
Also gets test coverage to 100%.
2020-03-09 12:19:17 -04:00
Jc2k
2879081772
Implement source switching for homekit_controller televisions ( #32526 )
2020-03-06 15:47:40 +00:00
Jc2k
007d934214
Initial support for HomeKit enabled televisions ( #32404 )
...
* Initial support for HomeKit enabled televisions
* Fix nit from review
2020-03-05 13:49:56 +00:00
springstan
f1a0ca7cd3
Add and use percentage constant ( #32094 )
...
* Add and use percentage constant
* Fix pylint error and broken test
2020-02-28 11:46:48 -08:00
springstan
157f972d72
Use f-strings in integrations starting with "H" - "L" ( #32265 )
...
* Use f-strings in integrations starting with "H"
* Use f-strings in integrations starting with "I"
* Use f-strings in integrations starting with "J"
* Use f-strings in integrations starting with "K"
* Use f-strings in integrations starting with "L"
* Fix lint error
* Use join instead of f-string in homekit_controller
* Use local variables with f-strings
* Fix lint error
* Escape the characters in f-string
* Sort imports with isort in homeworks light
* Fix pylint error
* Fix broken tests
* Fix broken tests v2
2020-02-28 12:39:29 +01:00
Jc2k
d207c37c33
Address homekit_controller feedback on #32212 and #32213 ( #32228 )
2020-02-26 17:10:05 -08:00
Jc2k
853d6cda25
Make homekit_controller a local push integration ( #32213 )
2020-02-26 10:35:53 -08:00
Jc2k
92a47f14bb
homekit_controller test cleanups ( #32212 )
2020-02-26 09:44:04 -08:00
Jc2k
4a89fba6f9
Add homekit_controller occupancy sensor ( #32188 )
2020-02-25 22:01:03 +00:00
Jc2k
dd13e99967
Add missing device class attributes to homekit_controller sensors ( #32175 )
...
* Add some missing device class attributes to homekit_controller sensors
* Add classes for binary sensors
2020-02-25 21:43:14 +01:00
Jc2k
438c4acf07
Deprecate homekit_controller .homekit folder ( #32158 )
...
* homekit_controller: Deprecate .homekit folder
* Tweaks from review
* Delay it a release
2020-02-25 12:09:04 +01:00
Jc2k
c9d78aa78c
Refactor homekit_controller config flow tests ( #32141 )
...
* Config flow test refactor
* Add a service and characteristic to the accessory so its more realistic
* Feedback from review
* Missing apostrophe
2020-02-25 12:06:35 +01:00
Ville Skyttä
496bd3dddf
Add and use more unit constants ( #32122 )
...
* Add and use speed constants
* Add and use meter based volume and area constants
* Add and use more mass unit constants
* Add and use concentration unit constants
* Add and use watts per square meter constant
* Use more time constants
* Use more data constants
2020-02-24 17:52:14 -08:00
Jc2k
df9363610c
Refactor homekit_controller to be fully asynchronous ( #32111 )
...
* Port homekit_controller to aiohomekit
* Remove succeed() test helper
* Remove fail() test helper
2020-02-24 10:55:33 +01:00
HomeAssistant Azure
2e5161997f
[ci skip] Translation update
2020-02-18 00:31:41 +00:00
HomeAssistant Azure
84e4ef510e
[ci skip] Translation update
2020-02-17 00:31:56 +00:00
HomeAssistant Azure
f3a8196fb5
[ci skip] Translation update
2020-02-15 00:31:45 +00:00
Paulus Schoutsen
e019280d94
Annotate more async functions correctly ( #31802 )
2020-02-14 10:00:22 -08:00
HomeAssistant Azure
32bc94bdd6
[ci skip] Translation update
2020-02-14 00:31:49 +00:00
Franck Nijhof
0173c61fee
Spelling: Config(uration) ( #31782 )
2020-02-13 08:27:00 -08:00
HomeAssistant Azure
40e866a5bb
[ci skip] Translation update
2020-02-13 00:31:46 +00:00
HomeAssistant Azure
118ba10442
[ci skip] Translation update
2020-02-10 00:31:37 +00:00
HomeAssistant Azure
a2bea2cab8
[ci skip] Translation update
2020-02-09 00:31:39 +00:00
HomeAssistant Azure
5483de7e25
[ci skip] Translation update
2020-02-08 00:31:45 +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
Paulus Schoutsen
e9e44dbd97
Fix callback and async ( #31281 )
...
* Fix callback and async
* Fix a return
* Fix test
* Fix mqtt tests
* Fix some more callbacks
2020-01-29 13:59:45 -08:00
Franck Nijhof
fb35d382e1
Remove all empty *_setup_platform() from integrations ( #31025 )
...
* Remove all empty *_setup_platform() from integrations
* Fix tests for smartthings
* Fix tests for heos
2020-01-21 12:38:38 +01:00
HomeAssistant Azure
0534153ae7
[ci skip] Translation update
2020-01-13 00:31:54 +00:00
HomeAssistant Azure
d6512c8a9f
[ci skip] Translation update
2020-01-11 00:31:55 +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
Jc2k
8257ea30c0
Set required_features field when registering fan services ( #30516 )
...
* Set required_features on fan services
* Fix mqtt fan test
* Update fan.py
2020-01-06 17:10:51 +01:00
Jc2k
a58c796641
Add support for homekit air quality sensors ( #30510 )
...
* Add air quality sensor
* Fix comment from review
* Fix comment from review
* Lint fix
2020-01-06 16:35:10 +01:00
Jc2k
fffc5a5fbb
Add support for v1 and v2 HomeKit fans. ( #30503 )
...
* Add support for v1 and v2 HomeKit fans.
* Lint fix
2020-01-05 15:56:46 +01:00
Ville Skyttä
5216477353
Be consistent with Home Assistant and Hass.io spelling ( #30500 )
...
* Be consistent with Home Assistant spelling
* Be consistent with Hass.io spelling
2020-01-05 14:09:17 +02:00
Jc2k
80701c8f2a
Defer homekit_controller initial poll after all entities are created ( #30355 )
...
* Make sure first poll happens after sub-platforms are loaded and entities are created.
* Function dosn't need to return anything
* Don't forward entry if already forwarded it
2020-01-03 21:22:27 +01:00
Jc2k
fccb13b762
Add homekit_controller service.sensor.smoke ( #30269 )
2019-12-30 08:05:49 +00:00
Jc2k
8a22a38353
Accept homekit_controller pairing codes both with and without dashes ( #30273 )
...
* Handle MalformedPinError from homekit_python
* Handle both formats of pin codes
2019-12-30 07:36:01 +00:00
HomeAssistant Azure
13116d8d3f
[ci skip] Translation update
2019-12-30 00:32:19 +00:00
Jc2k
b41480ae46
Add a config entry mechanism to rediscover a discovery that was ignored ( #30099 )
...
* Mechanism to rediscover a discovery that was ignored
* Add core config entry tests for new rediscover step
* Add tests for homekit_controller implementation of async_step_rediscover
* Rename rediscover to unignore
* Comment the new ignore/unignore mechanisms
2019-12-21 11:22:07 +01:00
Jc2k
c3144eddbb
Set unique id on homekit_controller config entries ( #30035 )
...
* Set unique id on config entries
* Changes from review
2019-12-19 09:45:22 +01:00
springstan
3b5da9c44a
Move imports to top for homekit_controller ( #29564 )
...
* Move imports to top for homekit_controller
* Fix IpPairing mock in two test files
2019-12-08 16:50:57 +00:00
HomeAssistant Azure
a1a131334a
[ci skip] Translation update
2019-12-04 00:32:11 +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
SukramJ
1fde0d18ed
Add supported_features to Alarm Control Panel to limit device_actions ( #29065 )
...
* Add supported_features to Alarm Control Panel
* mark supported_features abstract
* Add SF to async_register_entity_service
* fix test
* Add missing SF SUPPORT_ALARM_ARM_CUSTOM_BYPASS
* isort
* fix async_register_entity_service
* Update alarm_control_panel.py
2019-11-25 15:42:53 -08:00
Ville Skyttä
d88ca0f5cb
Lint exclusions ( #28655 )
...
* Remove malformed pylint disable markers
* Remove some unused imports
* Remove some unneeded lint exclusions
* Remove more unneeded lint exclusions
* Add specific codes to all noqa's
2019-11-16 10:22:07 +01:00
HomeAssistant Azure
08d662c0a5
[ci skip] Translation update
2019-11-14 00:32:16 +00:00
GaryOkie
a9a1c2b91d
Update Homekit climate.py to remap current mode ( #28625 )
...
* Update Homekit climate.py to remap current mode
This update changes the mapping of Homekit's Current Mode Heating/Cooling State to show the HASS Hvac_action attribute as "idle" instead of "off" when the returned value is 0.
* Update climate.py
removed imported constant no longer being used (CURRENT_HVAC_OFF)
* corrected update to climate.py
trying again to remove unused constant.
* Update test_climate.py
* removed "change" comment
The added comment describing the change was not needed and should not be included, as it will already be described via "git annotate" (per @jc2k)
2019-11-12 00:35:09 +01:00
HomeAssistant Azure
d8e3255603
[ci skip] Translation update
2019-10-15 00:31:44 +00:00
Ville Skyttä
761d7f21e9
Upgrade pylint ( #27279 )
...
* Upgrade pylint to 2.4.2 and astroid to 2.3.1
https://pylint.readthedocs.io/en/latest/whatsnew/2.4.html
https://pylint.readthedocs.io/en/latest/whatsnew/changelog.html#what-s-new-in-pylint-2-4-1
https://pylint.readthedocs.io/en/latest/whatsnew/changelog.html#what-s-new-in-pylint-2-4-2
* unnecessary-comprehension fixes
* invalid-name fixes
* self-assigning-variable fixes
* Re-enable not-an-iterable
* used-before-assignment fix
* invalid-overridden-method fixes
* undefined-variable __class__ workarounds
https://github.com/PyCQA/pylint/issues/3090
* no-member false positive disabling
* Remove some no longer needed disables
* using-constant-test fix
* Disable import-outside-toplevel for now
* Disable some apparent no-value-for-parameter false positives
* invalid-overridden-method false positive disables
https://github.com/PyCQA/pylint/issues/3150
* Fix unintentional Entity.force_update override in AfterShipSensor
2019-10-07 08:17:39 -07:00
HomeAssistant Azure
e005f6f23a
[ci skip] Translation update
2019-10-03 00:34:28 +00:00
Franck Nijhof
c7da781efc
Update documentation link URL for integrations in all manifests ( #27114 )
2019-10-02 09:25:44 -07:00
HomeAssistant Azure
b04a70995e
[ci skip] Translation update
2019-09-27 00:32:12 +00:00
tleegaard
2ffbe5b99f
Inverting states for opening/closing Homekit covers ( #26872 )
...
* Update cover.py
* Update test_cover.py
2019-09-24 21:16:08 -07:00
HomeAssistant Azure
24cbae6ec3
[ci skip] Translation update
2019-09-21 00:32:16 +00:00
HomeAssistant Azure
a390cf7c6a
[ci skip] Translation update
2019-09-18 00:32:12 +00:00
HomeAssistant Azure
771c674e90
[ci skip] Translation update
2019-09-17 00:32:14 +00:00
HomeAssistant Azure
e204d22a9e
[ci skip] Translation update
2019-09-08 00:32:16 +00:00
HomeAssistant Azure
0b1f389c76
[ci skip] Translation update
2019-09-07 00:32:45 +00:00
Franck Nijhof
f9edec19ad
Use literal string interpolation in integrations H-J (f-strings) ( #26380 )
2019-09-03 17:27:14 +02:00
Paulus Schoutsen
385a496944
Update translations
2019-09-01 22:30:09 -07:00
Jc2k
944b544b2e
Add support for Homekit accessory battery sensors ( #26210 )
...
* Add simple battery sensor
* Add test for battery sensor based on a real device
* Vary icon based on battery state
* Add test for battery sensory
* Read other battery related states from accessory
* Add a device class to the battery sensor
* Respect the low battery flag from the device
2019-08-31 13:18:18 +01:00
Paulus Schoutsen
e69953fe2d
Update translations
2019-08-28 12:45:48 -07:00
Jc2k
2bd832cd7a
Skip homekit_controller polls when system is overloaded and still trying to process the previous one ( #25968 )
...
* Skip async_update if there are signs of backpressure
* Black
* Only warn once
* Log on recovery
* Formatting fix
2019-08-17 21:14:46 -07:00
Jc2k
002f74c76b
Update homekit_controller import style ( #25940 )
2019-08-14 09:14:15 -07:00
Jc2k
34cde21876
Fix for HomeKit controller state not updating after put ( #25903 )
2019-08-13 10:09:55 +02:00
Paulus Schoutsen
87119472a3
Update translations
2019-08-11 20:42:50 -07:00
Ville Skyttä
a54ade1189
Spelling fixes ( #25666 )
2019-08-02 23:20:06 +02:00
Jc2k
a177ef02e3
Bump homekit_python to 0.15 ( #25631 )
2019-08-01 12:44:30 -07:00
Jc2k
36129af447
Fix polling HomeKit devices with multiple services per accessory ( #25629 )
2019-08-01 16:35:19 +01:00
tleegaard
61c6838fa2
Add support for HomeKit CO2 sensors ( #25603 )
2019-08-01 11:24:46 +01:00
Paulus Schoutsen
37d78af42c
Add translations
2019-07-31 16:16:40 -07:00
Paulus Schoutsen
4de97abc3a
Black
2019-07-31 12:25:30 -07:00
Jc2k
8c69fd91ff
Only poll HomeKit connection once for all entities on a single bridge/pairing ( #25249 )
...
* Stub for polling from a central location
* Allow connection to know the entity objects attached to it
* Move polling logic to connection
* Don't poll if no characteristics selected
* Loosen coupling between entity and HKDevice
* Disable track_time_interval when removing entry
* Revert self.entities changes
* Use @callback for async_state_changed
* Split out unload and remove and add a test
* Test that entity is gone and fix docstring
2019-07-22 09:22:44 -07:00
David Radcliffe
11c74cd0d7
Add support for contact binary sensors in homekit_controller ( #25355 )
2019-07-22 08:40:55 +01: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
Paulus Schoutsen
92816b57ef
Update translations
2019-06-14 14:53:13 -07:00
Penny Wood
84e6813779
Rename via_hub to via_device ( #24360 )
...
* Rename via_hub to via_device
* Fixed registry interactions
2019-06-10 09:10:44 -07:00
Paulus Schoutsen
0dc0706eb2
Add more HomeKit models for discovery ( #24391 )
...
* Add more HomeKit models for discovery
* Discover Tradfri with HomeKit
* Add Wemo device info
* Allow full match for HomeKit model
* Fix tests
2019-06-07 22:59:51 -07:00
Paulus Schoutsen
14c0ada9ac
Update translations
2019-06-04 08:50:48 -07:00
Paulus Schoutsen
70fe4f22db
Log HomeKit model ( #24229 )
2019-05-31 22:59:16 -07:00
Jc2k
bcee3f9570
homekit_controller no longer logs with transient network errors causing crypto failures as it will auto recover ( #24193 )
2019-05-30 09:40:38 -07:00
Jc2k
9303a56d8f
Fix duplicated discovered homekit devices ( #24178 )
2019-05-29 15:49:59 -07:00
Robert Svensson
42ee8eef50
Move Homekit controller component to user zeroconf discovery ( #24042 )
2019-05-29 11:20:04 -07:00
Paulus Schoutsen
fd3902f7e7
update translations
2019-05-29 10:16:58 -07:00
Paulus Schoutsen
206029eadc
Update translations
2019-05-23 13:32:35 -07:00
Paulus Schoutsen
f995ab9d54
Don't pass in loop ( #23984 )
...
* Don't pass in loop
* Revert some changes
* Lint + Axis revert
* reinstate loop
* Fix a test
* Set loop
* Update camera.py
* Lint
2019-05-22 21:09:59 -07:00
Jc2k
5b0d1415ad
Have homekit_controller use device registry ( #23874 )
...
* Add device registry support
* HK doesn't use mac as a connection id
2019-05-17 08:41:20 +02:00
Jc2k
03a0a3572b
Fix icons for homekit_controller sensors ( #23921 )
2019-05-16 22:30:48 +01:00
Jc2k
692eeb3687
Fix ecobee 3 homekit pairing ( #23882 )
2019-05-16 14:32:13 +02:00
Paulus Schoutsen
1e22c8daca
Automatically generate config flow list ( #23802 )
...
* Add config flow to manifest.json
* Still load config flows via config flow platform
* Fix typo
* Lint
* Update config_flows.py"
* Catch import error when setting up entry
* Lint
* Fix tests
* Fix imports
* Lint
* Fix Unifi tests
* Fix translation test
* Add homekit_controller config flow
2019-05-13 01:16:55 -07:00
Jc2k
b8cbd39985
HomeKit Controller: Adopt config entries for pairing with homekit accessories ( #23825 )
...
* Fix user initiated pairing + show more user friendly name
* Add lock around async_refresh_entity_map
* Migrate homekit_controller to config entries.
* Improve docstring
Co-Authored-By: Martin Hjelmare <marhje52@kth.se>
* Add dummy async_setup_platform
* add_service -> async_add_service
* Add missing returns
* Enable coverage checks for homekit_controller
2019-05-12 23:56:05 -07:00
Paulus Schoutsen
e51925fc58
Update translations
2019-05-08 20:20:58 -07:00
Jc2k
0fe21f2015
Support STATE_AUTO in homekit_controller climate ( #23583 )
2019-05-01 22:44:54 -05:00
Jc2k
7ff77936ad
Add and improve Homekit controller pairing messages and errors ( #23532 )
...
* Be clear about pairing code format
* Handle more homekit errors while pairing
* Update en translation
* Fix log message feedback
2019-05-01 17:02:29 -06:00
Jc2k
1c4367e5a9
Fix min/max temp and humidity for homekit_controller climate ( #23421 )
...
* Fix min/max temp and humidity for homekit_controller climate.
* Fix typo
2019-05-01 00:08:30 +02:00
Jc2k
7612703092
Bump homekit_python to 0.14.0 ( #23562 )
2019-04-30 08:44:48 -04:00
Jc2k
baeb3cddc6
Set placeholders in homekit config flow title ( #23311 )
2019-04-22 21:32:39 -07:00
Jc2k
e7054e0fd2
Avoid calling async code in sync context ( #23235 )
2019-04-19 10:59:54 -07:00
Jc2k
21a194f9d8
Review feedback from #23191 ( #23233 )
2019-04-19 08:39:06 -04:00
Jc2k
4ac9a2e9de
Add storage for cacheable homekit entity maps. ( #23191 )
2019-04-18 08:55:34 -07:00
Jc2k
6bb4199824
Add @Jc2k to codeowners for homekit_controller ( #23173 )
2019-04-17 19:16:20 -07:00
Jc2k
a97fb8fd10
Support fetching/setting humidity of HomeKit controller thermostats ( #23040 )
...
* Add support for homekit humidity control
* Add tests
2019-04-17 10:03:32 -07:00
Jc2k
f7afd9d6bc
Fix handling of homekit_controler zeroconf c# changes ( #22995 )
2019-04-17 10:02:51 -07:00
Jc2k
88455a8a8b
homekit_controller: Support cover stop ( #23046 )
2019-04-17 10:02:04 -07:00
Paulus Schoutsen
dcb4eb39fa
Update translations
2019-04-17 09:31:34 -07:00
Jc2k
e97b2b7015
Fix homekit_controller climate supported operation_list being blank ( #23095 )
...
* Fix tado supported operation modes when used with homekit_controller
* Replace with list comp as requested in review
* More list comps
2019-04-15 17:09:21 +02:00
cgtobi
2c07bfb9e0
Remove dependencies and requirements ( #23024 )
...
* Remove dependencies and requirements
* Revert "Remove dependencies and requirements"
This reverts commit fe7171b4cd
.
* Remove dependencies and requirements
* Revert "Remove dependencies and requirements"
This reverts commit 391355ee2c
.
* Remove dependencies and requirements
* Fix flake8 complaints
* Fix more flake8 complaints
* Revert non-component removals
2019-04-12 10:13:30 -07:00
Paulus Schoutsen
57f17707c6
Specify configurator as dependency ( #23030 )
2019-04-11 20:11:56 -07:00
Paulus Schoutsen
e9d9861bda
Update translations
2019-04-10 15:01:32 -07:00
Paulus Schoutsen
0d2646ba25
Update translations
2019-04-09 08:34:20 -07:00
Paulus Schoutsen
cfe4cf30ad
Add manifests ( #22699 )
...
* Add manifests
* Update auto name
* Update codeowners
* Add requirements from platforms
* Minor cleanup
* Incorporate changes from awarecan PR
2019-04-03 21:14:45 -07:00
Jc2k
16e0953f26
Fix racy homekit_controller platform setup caused by #22368 ( #22655 )
2019-04-02 09:57:58 +02:00
Jason Hu
8d86722c0e
Fix dev branch ( #22493 )
2019-03-28 11:09:12 +01:00
Paulus Schoutsen
9d21afa444
Update translations
2019-03-27 21:32:58 -07:00
Paulus Schoutsen
92457ca5ca
Fix syntax error
2019-03-27 20:16:00 -07:00
Jc2k
8bf5e57b7f
Move HKDevice into connection ( #22430 )
2019-03-27 20:01:10 -07:00
Jc2k
d8817bb127
Remove homekit_controller duplicate legacy pairing loader code ( #22442 )
2019-03-28 00:36:50 +01:00
Jc2k
133ae63ed0
Add missing append ( #22414 )
2019-03-26 07:39:05 -07:00
Jc2k
a62c116959
Remove get_serial helper that is no longer needed. ( #22368 )
2019-03-25 23:49:51 -07:00
Jc2k
b2ba9d07ca
Fix unavailable state for homekit locks and covers ( #22390 )
2019-03-25 23:40:28 -07:00
Jc2k
f997957054
Remove unused const ( #22383 )
2019-03-25 16:28:34 +01:00
Jc2k
af4b85d39d
Give HomeKit locks better names by default ( #22333 )
...
## Description:
This is a follow up to #22171 . There we set the name of an entity based on the `accessory-information` homekit service, rather than using the zeroconf/avahi name metadata. Unfortunately Lock also sets its name from zeroconf directly, rather than picking it up from the base class. This test updates it to be like the other homekit entities and use the base class.
(This is from my ongoing homekit_controller configentry branch).
## Checklist:
- [x] The code change is tested and works locally.
- [x] Local tests pass with `tox`. **Your PR cannot be merged unless tests pass**
- [x] There is no commented out code in this PR.
2019-03-24 18:21:04 -07:00
Paulus Schoutsen
72bb94de96
Update translations
2019-03-21 12:57:20 -07:00
Paulus Schoutsen
4b1de61110
Use relative imports inside integrations ( #22235 )
...
* Use relative imports inside integrations
* Lint
* Fix automation tests
* Fix scene imports
2019-03-20 22:56:46 -07:00
Jc2k
0344c761fc
Better handling of HomeKit accessory-information service ( #22171 )
...
* HomeKit controller: Better handling of accessory-information service
* Changes from review
2019-03-19 15:04:20 -04:00
Paulus Schoutsen
50ec3d7de5
Update translations
2019-03-13 12:57:00 -07:00
Jc2k
deb66bb748
HomeKit controller light - remove code that can never execute ( #21951 )
2019-03-13 12:53:33 -07:00
Jc2k
c0b859d8da
Set homekit controller entity as unavailable if new connections fail ( #21901 )
...
* Set entity as unavailable if new connections fail
* Fix docstring
2019-03-12 18:45:34 -07:00
Jc2k
e618e2f348
Fix error introduced by #21933 ( #21988 )
2019-03-12 18:37:33 -07:00
Jc2k
2b1b47bfdd
homekit_controller: Bump homekit to 0.13.0 ( #21965 )
...
* Bump homekit to 0.13.0
* Update gen_requirements_all.py
* Escape values used in TESTS_REQUIREMENTS
2019-03-12 21:54:08 +01:00
Paulus Schoutsen
d635111e4f
Update translations
2019-03-12 11:31:17 -07:00
Jc2k
5e2302e469
Add an asyncio Lock around pairing, which cant be used concurrently ( #21933 )
2019-03-11 11:59:41 -07:00
Jc2k
b0d55d1946
HomeKit controller config flow fixes ( #21898 )
...
* HomeKit controller config flow fixes
* This does work if you have latest vol-serialize
2019-03-11 10:07:12 +01:00
Paulus Schoutsen
5fbe2d5477
Update translations
2019-03-09 21:26:26 -08:00