J. Nick Koston
ab1d42950a
Update homekit_controller to use new fan entity model ( #45547 )
2021-01-28 11:43:43 +01:00
Jc2k
3b0a440770
Add support for homekit_controller secondary entities like power usage ( #44013 )
2021-01-26 13:45:01 -06:00
Jacob Southard
3364e945aa
Fix HomeKit climate integration for devices with a single set point in Heat_Cool mode. ( #45065 )
...
* Check supported flags in auto mode, and add tests.
* Fix test description.
2021-01-13 15:21:32 +01:00
Franck Nijhof
65cf2fcb6f
Drop asynctest ( #44746 )
2021-01-01 22:31:56 +01:00
Jc2k
2b6842aee0
Fix velux homekit covers not enumerated correctly ( #44318 )
2020-12-17 17:12:06 +01:00
Jc2k
109ce653c0
Fix how homekit_controller enumerates Hue remote ( #44019 )
2020-12-08 18:01:07 +01:00
Jc2k
6ce45e39d1
Hide HomeKit devices from discovery that are known to be problematic ( #44014 )
2020-12-07 13:51:35 +01:00
Jacob Southard
8b01f681ab
Add target temperature range to homekit_controller ( #42817 )
...
* Add support for temperature range in thermostat.
* Add tests for setting temperature range.
* Update Lennox E30/Ecobee 3 tests to reflect new supported feature
* Add support for thermostate mode specific min/max temp values.
2020-12-06 23:23:08 +00:00
Paulus Schoutsen
b3be708db6
Add default config if not there ( #43321 )
...
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2020-11-25 15:10:04 +01:00
Austin Drummond
d1566bd210
Add HomeKit humidifier/dehumidifier ( #42311 )
...
* add HomeKit humidifier/dehumidifier
* added more test coverage
* simplified char logic
Co-authored-by: Quentame <polletquentin74@me.com>
* use mode constants
* Renamed HomeKit Contorller
Co-authored-by: Quentame <polletquentin74@me.com>
* improved threshold logic
* split up homekit humidifier into 2 entities
* fixed tests
* fixed mode and switch logic
* added set mode tests
* removed redundant methods present in base class
Co-authored-by: Quentame <polletquentin74@me.com>
2020-11-14 17:59:13 +00:00
Jc2k
cc396b9736
Add initial camera support to homekit_controller ( #43100 )
2020-11-14 12:07:22 +00:00
Anders Melchiorsen
650c57db5b
Fix async_track_utc_time_change firing too early ( #42176 )
2020-11-05 16:34:56 +01:00
Paulus Schoutsen
5dac3883b0
Stub light profiles ( #42232 )
2020-10-23 16:28:21 +02:00
springstan
a2c3c33b22
Use core GitHub URL in all files ( #41089 )
2020-10-03 00:04:11 +02:00
J. Nick Koston
46f9c0fb8a
Update phrasing and pin validation for homekit_controller ( #40006 )
2020-09-13 15:26:04 -05:00
J. Nick Koston
84578f515d
Suppress homekit bridge discovery by homekit controller ( #39990 )
2020-09-13 09:12:10 -05:00
Jc2k
988a467afd
Device automation triggers for stateless HomeKit accessories ( #39090 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2020-09-11 13:34:07 -05:00
RogerSelwyn
162c39258e
Add Carbon Monoxide binary sensor to Homekit Controller ( #39889 )
2020-09-10 12:25:14 +01:00
Franck Nijhof
1c2ebdf307
Upgrade black to 20.8b1 ( #39287 )
2020-08-27 13:56:20 +02:00
Yuxiang Zhu
19cc168433
Add HomeKit Controller heater-cooler devices ( #38979 )
...
Some new HomeKit climate devices, like XiaoMi Air Conditioning Controller P3 are heater-cooler devices rather than
thermostat devices. This commit adds support for the heater-cooler class via homekit_controller.
2020-08-25 17:56:01 +01:00
J. Nick Koston
483d09b9c1
Adjust homekit controller pairing to have a new step for each potentially recoverable error ( #38742 )
...
* Adjust homekit controller pairing errors back to a single step
* adjust test
* Revert "Adjust homekit controller pairing errors back to a single step"
This reverts commit e5ed89bbbb
.
* Revert "adjust test"
This reverts commit c2e9f21a8401c144315260f6fdf71ea8060f8ca3.
* adjust
* prune
* prune
* merge
* Update tests
* remove debug
* adjust
* Multiple steps
* adjust the test
2020-08-14 10:34:52 -05:00
J. Nick Koston
9bb7b3b125
Fix homekit_controller pairing retry when the first attempt is busy ( #38605 )
...
* Fix homekit_controller pairing retry
If the device was busy on the first pairing attempt, it
was not possible to retry.
* always restart pairing on recoverable execptions
* move code
* malformed pin is safe to restart
* make busy_error an abort
* switch max retries, simplify tests
* try pairing later
* try pairing later
* merge
* s/tlv_error/protocol_error/g
* Adjust wording
2020-08-09 22:17:13 -05:00
J. Nick Koston
89a9634d35
Use eventloop for scheduling ( #37184 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2020-06-29 09:39:24 -07:00
Paulus Schoutsen
ec47216388
Use built-in test helpers on 3.8 ( #34901 )
2020-04-30 13:29:50 -07:00
Jc2k
1b4851f2e0
Remove deprecated homekit_controller credential storage locations ( #34333 )
...
* Remove deprecated homekit_controller credential storage locations
* async_import_legacy_pairing can also be removed
2020-04-20 07:32:30 -04:00
Franck Nijhof
528c7f4871
Removal of extraneous parenthesis in tests ( #33670 )
...
* Removal of extraneous parenthesis
* Process review suggestions
* Apply suggestions from code review
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-04-05 03:50:30 +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
Jc2k
34e44e7f3a
Add support for homekit valve accessories to homekit_controller ( #32937 )
2020-03-18 21:20:40 +00: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
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
1ddc1ebc6b
Refactor away deprecated homekit_controller test helpers ( #32177 )
2020-02-25 21:19: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
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
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
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
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
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
Bas Nijholt
776d8cfdc9
Sort imports according to PEP8 for specific_devices ( #29687 )
2019-12-09 11:51:36 +01:00
Bas Nijholt
d2c1e5d45c
Sort imports according to PEP8 for homekit_controller ( #29646 )
2019-12-08 18:14:26 +01:00