Commit Graph

643 Commits (7987b00d89d0fd6f7aa770bb82a97479ca85d230)

Author SHA1 Message Date
Erik Montnemery 51e6d49451
Adapt homekit to color temperatures in K (#79713) 2022-10-06 09:20:10 -10:00
Erik Montnemery 47d0598e75
Use Kelvin as the preferred color temperature unit (#79591)
* Use Kelvin as the preferred white temperature unit

* Update homekit

* Adjust tests
2022-10-06 12:22:39 +02:00
J. Nick Koston ec8901b9af
Improve robustness of linking homekit yaml to config entries (#79386) 2022-10-01 16:44:45 +02:00
Marc Mueller 249922ba1b
Improve iterable typing (2) (#79296)
* Improve iterable typing (2)

* Use collection
2022-10-01 00:13:15 +02:00
epenet dd7a06b9dc
Use unit_conversion in components (#78991) 2022-09-23 17:33:32 +02:00
epenet 7871a517a8
Import constants from root (#78271) 2022-09-12 18:53:05 +02:00
epenet ec532414ba
Import climate constants from root [a-l] (#78177) 2022-09-10 23:39:52 +02:00
epenet ff356205bf
Use platform constants from root (#78032) 2022-09-08 12:24:45 +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
GitHub Action ff3fd4c29d [ci skip] Translation update 2022-08-16 00:30:51 +00:00
GitHub Action bec8e544f4 [ci skip] Translation update 2022-08-14 00:25:47 +00:00
GitHub Action 6e03b12a93 [ci skip] Translation update 2022-08-13 00:25:00 +00:00
GitHub Action 7c81f790a7 [ci skip] Translation update 2022-08-12 00:23:47 +00:00
Marc Mueller 70aeaa3c76
Use Callback protocol for AutomationActionType (#76054) 2022-08-09 16:10:26 -04:00
Sarabveer Singh 01de1c6304
Update HomeKit PM2.5 mappings to US AQI (#76358) 2022-08-08 11:49:07 -10:00
GitHub Action 32a2999b85 [ci skip] Translation update 2022-08-06 00:24:46 +00:00
GitHub Action cb46441b74 [ci skip] Translation update 2022-08-05 00:28:51 +00:00
GitHub Action 81e3ef03f7 [ci skip] Translation update 2022-08-02 00:27:42 +00:00
GitHub Action c4ad6d46ae [ci skip] Translation update 2022-07-30 00:22:48 +00:00
GitHub Action 4a50010458 [ci skip] Translation update 2022-07-25 00:25:55 +00:00
Marc Mueller e9697872c8
Fix small homekit type error (#75617) 2022-07-22 09:02:10 -05:00
GitHub Action 79a0940932 [ci skip] Translation update 2022-07-17 00:25:56 +00:00
GitHub Action 1d2e64e3dc [ci skip] Translation update 2022-07-14 00:27:41 +00:00
GitHub Action a3fd5acf3f [ci skip] Translation update 2022-07-13 00:27:34 +00:00
J. Nick Koston 629c68221e
Avoid retriggering HomeKit doorbells on forced updates (#74141) 2022-06-28 19:54:27 -05:00
J. Nick Koston 0063274f83
Bump HAP-python to 4.5.0 (#74127) 2022-06-28 15:24:20 +02:00
J. Nick Koston 5863d57e73
Add strict typing to homekit locks (#73264) 2022-06-09 20:56:58 -07:00
GitHub Action 7746715590 [ci skip] Translation update 2022-06-02 00:27:51 +00:00
J. Nick Koston 0248a8710f
Always pass the source of the trigger for logbook context messages (#72333) 2022-05-23 13:35:45 -05:00
GitHub Action 3a13ffcf13 [ci skip] Translation update 2022-05-19 00:26:11 +00: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
Franck Nijhof c0da97b038
Clean up accessing service helpers via hass (#72013) 2022-05-17 10:56:57 -07:00
Franck Nijhof 69cc6ab5f1
Clean up accessing entity_registry.async_get_registry helper via hass (#72005) 2022-05-17 16:40:45 +02:00
Franck Nijhof a902899058
Remove auto_start translation from HomeKit (#71938) 2022-05-16 07:44:07 -05:00
GitHub Action 37f81b261d [ci skip] Translation update 2022-05-16 00:24:28 +00:00
J. Nick Koston 60bfcc6be4
Allow hidden entities to be selected in homekit include mode (#71250) 2022-05-03 09:47:13 -07:00
GitHub Action 348016dbbf [ci skip] Translation update 2022-04-29 00:22:21 +00:00
epenet 9dfc2636a9
Use climate enums in homekit (#70770) 2022-04-26 11:27:38 +02:00
Marc Mueller 9b9b553521
Disable no-self-use [pylint] (#70641)
* Disable no-self-use

* Remove disable comments
2022-04-25 07:41:01 -07:00
epenet 4830b427ac
Use ColorMode enum in homekit (#70581) 2022-04-24 00:30:08 -10: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
epenet 71b298f3ed
Use EntityFeature constants in homekit (#69535) 2022-04-06 21:09:27 -10:00
epenet 4e87a8c568
Adjust binary_sensor device classes in homekit (#69239) 2022-04-04 12:55:55 -06:00
J. Nick Koston 220beefb89
Prevent HomeKit from offering hidden entities (#69042) 2022-04-01 13:34:44 +02:00
J. Nick Koston af6a62ca79
Strict typing for homekit part 1 (#67657)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2022-03-30 11:21:07 +02:00
epenet e362871499
Prettify json (strings.json) (#68885) 2022-03-30 10:35:30 +02:00
Erik Montnemery 1c57e65cea
Exclude hidden entities from homekit (#68552) 2022-03-23 10:32:51 +01:00
GitHub Action dc31f420ed [ci skip] Translation update 2022-03-12 00:17:47 +00: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
GitHub Action 479aa13211 [ci skip] Translation update 2022-02-27 00:19:29 +00:00
GitHub Action 5e366d93fc [ci skip] Translation update 2022-02-25 00:17:52 +00:00
J. Nick Koston 4dc6aab17e
Move camera to after deps for HomeKit (#67190) 2022-02-24 20:03:59 +01:00
Marc Mueller ec980a574b
Improve typing [util.decorator] (#67087) 2022-02-23 20:58:42 +01:00
J. Nick Koston f69571f164
Add support for climate fan and oscillate mode to HomeKit (#66463) 2022-02-22 09:58:31 +01:00
GitHub Action 102ae9f0e3 [ci skip] Translation update 2022-02-22 00:17:23 +00:00
J. Nick Koston f2f2a08966
Add support for auto target fan state in HomeKit fans (#66383) 2022-02-21 19:08:09 +01:00
Marc Mueller 4f20a8023b
Use assignment expressions [A-I] (#66880) 2022-02-19 17:21:26 +01:00
GitHub Action 8b557884b7 [ci skip] Translation update 2022-02-18 00:24:29 +00:00
GitHub Action d69d0e8817 [ci skip] Translation update 2022-02-15 00:14:48 +00:00
GitHub Action ad0cb4831e [ci skip] Translation update 2022-02-14 00:15:30 +00:00
GitHub Action 203bda203d [ci skip] Translation update 2022-02-13 00:16:41 +00:00
GitHub Action 7d70b0a16b [ci skip] Translation update 2022-02-10 00:15:56 +00:00
GitHub Action fb96c31a27 [ci skip] Translation update 2022-02-09 00:23:56 +00: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
Franck Nijhof fa09cf663e
Update black to 22.1.0 (#65788) 2022-02-05 14:19:37 +01:00
GitHub Action b2f0882e67 [ci skip] Translation update 2022-02-04 00:13:58 +00:00
epenet a63e5c7ded
Add type hints for config entry update listeners (#65412) 2022-02-02 03:36:04 -06:00
GitHub Action ff2f135f55 [ci skip] Translation update 2022-02-02 00:15:13 +00:00
GitHub Action 0be8060b69 [ci skip] Translation update 2022-02-01 00:18:49 +00:00
GitHub Action ca7d4234e1 [ci skip] Translation update 2022-01-31 00:14:28 +00:00
GitHub Action 77ef86faee [ci skip] Translation update 2022-01-30 00:14:21 +00:00
GitHub Action 5e62ff95b9 [ci skip] Translation update 2022-01-29 00:13:03 +00:00
J. Nick Koston 5b755b74fb
Add loggers to integration manifest.json (#65083) 2022-01-28 13:37:53 -08:00
J. Nick Koston de7f1e793a
Downgrade homekit linked humidity sensor error to debug (#65098)
Fixes #65015
2022-01-28 10:38:13 +02:00
GitHub Action dd4e5bb9c5 [ci skip] Translation update 2022-01-27 00:14:02 +00:00
GitHub Action 2aaca346bd [ci skip] Translation update 2022-01-25 00:14:30 +00:00
epenet 3a09090a4b
Drop use of deprecated ENTITY_CATEGORIES (#64607)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-24 13:36:42 +01:00
GitHub Action 7d31f570e2 [ci skip] Translation update 2022-01-24 00:13:45 +00:00
GitHub Action 47d3fb1dec [ci skip] Translation update 2022-01-23 00:13:53 +00:00
GitHub Action 9098c71cd4 [ci skip] Translation update 2022-01-22 00:13:08 +00:00
GitHub Action fc6d6594ab [ci skip] Translation update 2022-01-21 00:13:34 +00:00
epenet f083b97f9f
Import camera (#64540)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-20 13:07:05 +01: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
GitHub Action 04a2227f4b [ci skip] Translation update 2022-01-19 00:13:35 +00: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
Erik Montnemery 2eab3c8de1
Import persistent notification (part 3) (#63900) 2022-01-11 09:51:16 -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
epenet 1650332188
Add init type hints [h-j] (#63187)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-02 16:31:48 +01:00
GitHub Action f205708e56 [ci skip] Translation update 2021-12-31 00:14:15 +00:00
epenet 803eaa8e22
Ensure admin service calls are typed (#63093)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-30 21:12:40 +01:00