Jc2k
d75c97cbf3
Revert "Set Fahrenheit reporting precision to tenths for Homekit Controller climate entities ( #50415 )" ( #51698 )
2021-06-10 15:41:42 +01:00
Paulus Schoutsen
ee2c950716
Merge system options into pref properties ( #51347 )
...
* Make system options future proof
* Update tests
* Add types
2021-06-01 22:34:31 +02:00
J. Nick Koston
deb9135707
Handle clamped fan maxValue in homekit_controller ( #51088 )
2021-05-25 16:06:17 -05:00
jjlawren
fe75a1bb9d
Set Fahrenheit reporting precision to tenths for Homekit Controller climate entities ( #50415 )
2021-05-25 19:32:59 +02:00
J. Nick Koston
4b0b0f5db7
Allow user to override insecure setup codes and pair with homekit_controller ( #50986 )
...
* Allow user to override invalid setup codes and pair with homekit_controller
* adjust from manual testing
* invalid -> insecure
2021-05-23 10:15:38 -05:00
J. Nick Koston
e1b6385b4d
Add support for doorbell buttons to homekit_controller ( #50983 )
2021-05-23 08:56:16 -05:00
Ville Skyttä
19d25cd901
Change config entry state to an enum ( #49654 )
...
* Change config entry state to an enum
* Allow but deprecate EntryState str equality comparison
* Test fixes
* Rename to ConfigEntryState
* Remove str comparability backcompat
* Update new occurrences of strs cropped up during review
2021-05-20 19:19:20 +02:00
J. Nick Koston
909a20b36d
Use async zeroconf registration functions ( #50168 )
2021-05-11 11:03:36 -05:00
Franck Nijhof
c68b259bd3
Cleanup of unused connection_class logic ( #49865 )
...
Co-authored-by: Joakim Sørensen <joasoe@gmail.com>
2021-04-29 23:12:58 +02:00
Ruslan Sayfutdinov
02764c2f46
Disable strict type checks for tests ( #49851 )
2021-04-29 15:57:02 +02:00
Ville Skyttä
153d6e891e
Use config_entries.SOURCE_* constants ( #49631 )
2021-04-25 11:27:40 +02:00
J. Nick Koston
e234fc6e7e
Disconnect homekit_controller devices on the stop event ( #49244 )
2021-04-14 21:47:15 -10:00
Erik Montnemery
b26779a27a
Add id to automation triggers ( #48464 )
2021-03-31 14:56:04 +02:00
J. Nick Koston
7a447c4209
Exclude homekit accessories created by the homekit integration from homekit_controller ( #48201 )
2021-03-21 22:18:24 -07:00
Erik Montnemery
87e7cebd36
Update tests c-h to use registry async_get ( #47652 )
2021-03-09 14:31:17 +01:00
J. Nick Koston
b315fcab11
Fix turn on without speed in homekit controller ( #47597 )
2021-03-08 10:43:22 -08:00
Ville Skyttä
dc880118a4
Lint suppression cleanups ( #47248 )
...
* Unused pylint suppression cleanups
* Remove outdated pylint bug references
* Add flake8-noqa config and note to run it every now and then
* Add codes to noqa's
* Unused noqa cleanups
2021-03-02 09:02:04 +01:00
Paulus Schoutsen
9e07910ab0
Mark entities as unavailable when they are removed but are still registered ( #45528 )
...
* Mark entities as unavailable when they are removed but are still registered
* Add sync_entity_lifecycle to collection helper
* Remove debug print
* Lint
* Fix tests
* Fix tests
* Update zha
* Update zone
* Fix tests
* Update hyperion
* Update rfxtrx
* Fix tests
* Pass force_remove=True from integrations
Co-authored-by: Erik <erik@montnemery.com>
2021-02-08 10:45:46 +01:00
Erik Montnemery
28ef3f68f3
Add media_player device triggers ( #45430 )
...
* Add media player device triggers
* Update tests
2021-02-08 09:36:14 +01:00
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