Commit Graph

335 Commits

Author SHA1 Message Date
J. Nick Koston
d94e969dc1 Fix instability with HomeKit trigger accessories (#80703)
fixes https://github.com/home-assistant/core/issues/78774
fixes https://github.com/home-assistant/core/issues/81685
2022-11-16 15:40:44 +01:00
J. Nick Koston
d88b2bf19c Fix off by one in HomeKit iid allocator (#81793) 2022-11-08 16:24:15 +01:00
J. Nick Koston
ac15f2cf9d Fix homekit bridge iid allocations (#81613)
fixes undefined
2022-11-08 12:32:35 +01:00
J. Nick Koston
9b87f7f6f9 Fix homekit diagnostics test when version changes (#81046) 2022-11-01 13:09:31 -04:00
J. Nick Koston
a90ef3a575 Add additional data to HomeKit diagnostics (#80980) 2022-10-26 10:05:33 +02:00
J. Nick Koston
3b33e0d832 Add support for restoring HomeKit IIDs (#79913) 2022-10-14 09:58:09 -10:00
Erik Montnemery
51e6d49451 Adapt homekit to color temperatures in K (#79713) 2022-10-06 09:20:10 -10:00
J. Nick Koston
ec8901b9af Improve robustness of linking homekit yaml to config entries (#79386) 2022-10-01 16:44:45 +02:00
epenet
0d696b84b2 Cleanup root component imports in tests (#78893) 2022-09-21 06:57:41 -10:00
epenet
0ac581a0b1 Cleanup EntityFeature in tests (#78859) 2022-09-21 10:48:55 +02:00
epenet
f453726b18 Cleanup HVACAction and HVACMode in tests (#78813) 2022-09-20 20:30:54 +02:00
epenet
6b3c91bd6a Cleanup ColorMode in tests (#78807) 2022-09-20 18:33:45 +02:00
epenet
fe747601ff Cleanup DeviceClass and StateClass in tests (#78811) 2022-09-20 10:49:11 -04:00
epenet
7bc2712142 Adjust root-import in tests (#78761)
* Adjust root-import in tests

* Adjust diagnostics

* Adjust button

* Adjust select

* Adjust device_tracker

* Adjust camera

* Adjust humidifier

* Adjust media_source

* Adjust update

* Adjust siren

* Adjust number

* Adjust alarm_control_panel

* Adjust notify

* Adjust sensor

* Adjust switch

* Revert anthemav

* Don't adjust demo humidifier
2022-09-19 15:22:23 +02:00
Artem Draft
ac56b3306a Fix covers moving state in HomeKit (#77101)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-08-21 06:54:37 -10:00
Sarabveer Singh
01de1c6304 Update HomeKit PM2.5 mappings to US AQI (#76358) 2022-08-08 11:49:07 -10:00
Franck Nijhof
7cd68381f1 Search/replace RESULT_TYPE_* by FlowResultType enum (#74642) 2022-07-07 19:57:36 +03:00
Franck Nijhof
68ccb96089 Refactor CI (#74014) 2022-07-07 18:53:24 +02:00
J. Nick Koston
629c68221e Avoid retriggering HomeKit doorbells on forced updates (#74141) 2022-06-28 19:54:27 -05:00
Franck Nijhof
bfb47eb212 Final clean up of helpers accessed via hass (#72032)
* Final clean up of helpers accessed via hass

* Fix circular dep

* Fix import
2022-05-17 23:42:37 +03:00
J. Nick Koston
24d7a464e1 Refactor logbook to reduce overhead and complexity (#71509) 2022-05-08 21:47:26 -07:00
Paulus Schoutsen
6e675d6f07 Fix homekit tests in beta (#71268) 2022-05-03 14:09:35 -07:00
J. Nick Koston
60bfcc6be4 Allow hidden entities to be selected in homekit include mode (#71250) 2022-05-03 09:47:13 -07:00
J. Nick Koston
034ba7d3ff Only read HomeKit service/chars from disk once (#70354) 2022-04-21 13:54:44 -07:00
J. Nick Koston
47c3aef7a2 Fix registered entities without a category not being exclude-able in the HomeKit UI (#69543) 2022-04-07 13:46:41 +02:00
J. Nick Koston
220beefb89 Prevent HomeKit from offering hidden entities (#69042) 2022-04-01 13:34:44 +02:00
Erik Montnemery
1c57e65cea Exclude hidden entities from homekit (#68552) 2022-03-23 10:32:51 +01:00
Lester Lo
56abd5f2cf Add homekit pm type sensor (#46060)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-03-08 08:37:20 +01:00
J. Nick Koston
f268191985 Handle fan_modes being set to None in homekit (#67790) 2022-03-07 09:10:38 -08:00
J. Nick Koston
6d2302b703 Add guards for HomeKit version/names that break apple watches (#67585) 2022-03-03 15:03:46 -08:00
J. Nick Koston
f69571f164 Add support for climate fan and oscillate mode to HomeKit (#66463) 2022-02-22 09:58:31 +01:00
J. Nick Koston
f2f2a08966 Add support for auto target fan state in HomeKit fans (#66383) 2022-02-21 19:08:09 +01:00
J. Nick Koston
41f602c3df Fix loss of ability to control white channel in HomeKit on RGB&W lights (#65864)
* Fix loss of ability to control white channel in HomeKit on RGB&W lights

- Fix white channel missing from RGB/W lights

- Fix temp missing from RGB/CW lights

- Fixes #65529

* cover the missing case

* bright fix

* force brightness notify on color mode change as well
2022-02-06 14:12:30 -08:00
J. Nick Koston
62da194340 Add diagnostics support to HomeKit (#65942)
* Add diagnostics support to HomeKit

* remove debug
2022-02-06 14:02:07 -08:00
J. Nick Koston
d53124910f Add entity category support to HomeKit (#64492) 2022-01-19 21:48:50 -10:00
J. Nick Koston
36e2617796 Ensure homekit options flow remembers excluded entities during edit (#64401) 2022-01-18 19:17:43 -10:00
Li-Huai (Allan) Lin
64d0b89ca1 Fix humidifier state error in HomeKit (#61432)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-01-16 19:03:54 -10:00
J. Nick Koston
d3f980d402 Convert siri requests for target heating cooling state auto to a valid mode (#60220) 2022-01-12 15:06:09 -08:00
J. Nick Koston
5622db10b1 Fix HomeKit reporting/setting colors when white values are present (#63948) 2022-01-12 14:58:25 -08:00
J. Nick Koston
1019156899 Fix homekit options being mutated during config_flow/migration (#64003) 2022-01-12 14:56:24 -08:00
J. Nick Koston
9dd09f66e2 Ensure selected entity is pre-selected in homekit options flow (#63628)
* Ensure selected entity is pre-selected in homekit options flow

- We recently adjusted the flow to exclude entities that had
  been deleted from breaking the UI validation. We need to include
  single entities in the set of all supported entities since
  accessory mode has no domain filter

* tweak

* Additional fixes

* small tweak to speed up building the set

* merged fixed version for test branch
2022-01-07 17:46:39 -08:00
J. Nick Koston
945477a482 Fix KeyError during call to homekit.unpair (#63627) 2022-01-07 19:47:14 +01:00
J. Nick Koston
5c8271552a Add hardware revision support to homekit (#63336) 2022-01-04 16:19:12 +01:00
Erik Montnemery
e9b746e874 Add turned on or off device trigger to toggle entity (#61089)
* Add turned on or off device trigger to toggle entity

* Renamed changed_states trigger to toggled

* Adjust tests

* Fix homekit triggers test

* Add tests

* Adjust tests after rebase

Co-authored-by: J. Nick Koston <nick@koston.org>
2022-01-03 10:41:30 +01:00
J. Nick Koston
417172eef2 Cleanup HomeKit names to avoid unknown error when adding (#62831) 2021-12-27 09:53:33 +01:00
Lorenzo Brescanzin
0da710c4e0 Fix HomeKit sensor update check (#62705) 2021-12-24 08:39:37 -10:00
Erik Montnemery
cb2c2d98c3 Remove unnecessary checks before calling os.makedirs (#62576) 2021-12-23 09:59:31 +01:00
Franck Nijhof
c5d62ccc7e Add input_button support to HomeKit (#62590) 2021-12-22 13:23:57 -10:00
Ville Skyttä
c5e6489475 Use DeviceAutomationType in tests/components/[h-l]* (#62441) 2021-12-20 22:18:53 +01:00
Dave T
168fefad88 Use DeviceClass Enums in homekit (#62218) 2021-12-20 12:53:44 -06:00