Commit Graph

58 Commits (2fe4fc908bbe1c3c6559a079ab103c1d9bab8d36)

Author SHA1 Message Date
Paul Bottein a5b556b21b
Use entity selector in Homekit bridge config flow ()
Use entity selector in homekit bridge config flow
2024-09-25 12:11:55 +02:00
epenet 831a1d7ad1
Standardize import step variable name (part 1) () 2024-08-27 10:34:47 +02:00
Sander Peterse 2f5ec41fa6
Add valve domain to HomeKit ()
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-06-30 12:04:20 -05:00
Marc Mueller 8809d3aa88
Add empty line after module docstring [g-i] () 2024-03-08 08:52:48 -05:00
Erik Montnemery e06446d0fa
Migrate integrations e-h to generic flowhandler () 2024-02-29 20:07:36 +01:00
J. Nick Koston 206aaac700
Reduce complexity in the homekit config flow filters ()
* Add typing to entity filters

* Add typing to entity filters

* Add typing to entity filters

* Add typing to entity filters

* tweaks

* tweaks

* tweaks

* tweaks

* tweaks
2024-02-09 09:33:21 -05:00
J. Nick Koston 39fd5897cb
Small typing cleanups for HomeKit () 2023-10-11 08:11:58 +02:00
J. Nick Koston e22b03d6b3
Switch homekit config flow sorted to use itemgetter ()
Avoids unnecessary lambda
2023-09-05 21:18:46 -04:00
epenet 42b74e7f56
Adjust entity registry access in integrations (3) () 2023-03-01 08:24:56 +01:00
J. Nick Koston 906d397736
Update homekit to use async_get_integrations () 2023-02-22 09:25:47 +01:00
Franck Nijhof cb13418bab
String formatting and max line length - Part 2 () 2022-12-22 11:38:59 +01:00
J. Nick Koston 60bfcc6be4
Allow hidden entities to be selected in homekit include mode () 2022-05-03 09:47:13 -07:00
J. Nick Koston 47c3aef7a2
Fix registered entities without a category not being exclude-able in the HomeKit UI () 2022-04-07 13:46:41 +02:00
J. Nick Koston 220beefb89
Prevent HomeKit from offering hidden entities () 2022-04-01 13:34:44 +02:00
J. Nick Koston af6a62ca79
Strict typing for homekit part 1 ()
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2022-03-30 11:21:07 +02:00
Erik Montnemery 1c57e65cea
Exclude hidden entities from homekit () 2022-03-23 10:32:51 +01:00
epenet 3a09090a4b
Drop use of deprecated ENTITY_CATEGORIES ()
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-24 13:36:42 +01:00
J. Nick Koston d53124910f
Add entity category support to HomeKit () 2022-01-19 21:48:50 -10:00
J. Nick Koston 36e2617796
Ensure homekit options flow remembers excluded entities during edit () 2022-01-18 19:17:43 -10:00
J. Nick Koston 1019156899
Fix homekit options being mutated during config_flow/migration () 2022-01-12 14:56:24 -08:00
J. Nick Koston 9dd09f66e2
Ensure selected entity is pre-selected in homekit options flow ()
* 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
Franck Nijhof c5d62ccc7e
Add input_button support to HomeKit () 2021-12-22 13:23:57 -10:00
Ville Skyttä 334c6c5c02
Make device automation type an enum () 2021-12-20 19:16:30 +01:00
J. Nick Koston 6524cd4eb2
Fix user input malformed with deleted entities in HomeKit exclude flow () 2021-11-23 11:46:54 -06:00
Franck Nijhof 766c889e70
Add button support to HomeKit ()
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-11-23 00:46:51 +01:00
J. Nick Koston 0fb21af07f
Strip out deleted entities when configuring homekit () 2021-11-18 15:21:51 -08:00
J. Nick Koston 438ca73aba
Complete removal of auto_start, zeroconf_default_interface, and safe_mode from HomeKit () 2021-10-24 11:46:35 +02:00
Greg Thornton 371aa03bca
Add audio support option to HomeKit camera UI config flow () 2021-09-11 16:41:30 -10:00
J. Nick Koston 195ee2a188
Avoid creating sockets in homekit port available tests ()
* Avoid creating sockets in homekit port available tests

* prevent new bridge from being setup -- its too fast now that the executor job is gone and it revealed an unpatched setup
2021-09-03 17:15:28 -10:00
ha0y 433775cf4b
Add input_select and select domain support for HomeKit ()
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-08-30 15:28:26 -05:00
J. Nick Koston 43b8353566
Show device_id in HomeKit when the device registry entry is missing a name ()
- Reported at: https://community.home-assistant.io/t/homekit-unknown-error-occurred/333385
2021-08-29 09:01:04 +02:00
J. Nick Koston bd0af57ef2
Support device triggers in HomeKit () 2021-08-25 16:47:39 +02:00
J. Nick Koston e78a62c802
Fix homekit locks not being created from when setup from the UI () 2021-07-21 22:22:06 -07:00
J. Nick Koston f51cb110d3
Run pyupgrade on homekit config_flow ()
- The original PR was run though the CI before the new pyupgrade
2021-07-18 23:33:08 -10:00
J. Nick Koston f24576b08d
Show the name of the domain in HomeKit when selecting to include () 2021-07-18 17:55:56 -10:00
Michael b1138b1aab
Add constructor return type in integrations E-K () 2021-05-20 18:47:30 +03:00
Franck Nijhof 10d6dfd4ae
Clean up connection classes in integrations H-L () 2021-04-30 21:02:53 -10:00
J. Nick Koston 6b93c4073d
Ensure homekit yaml config works when there is an ignored config entry () 2021-03-21 21:17:04 -10:00
J. Nick Koston fd310e1f41
Update homekit to improve representation of activity based remotes () 2021-03-21 21:55:20 -07:00
Franck Nijhof 87499989a0
Small code styling tweaks for HomeKit () 2021-03-20 17:08:49 -10:00
Ville Skyttä dc880118a4
Lint suppression cleanups ()
* 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
J. Nick Koston 87cbbcb014
Automatically create HomeKit accessory mode entries ()
When we set up HomeKit, we asked users if they wanted
to create an entry in bridge or accessory mode.

This approach required the user to understand how HomeKit works and
choose which type to create.

When the user includes the media player or camera domains,
we exclude them from the bridge and create the additional entries
for each entity in accessory mode.
2021-02-23 16:22:23 -08:00
tkdrob a5a45f29e2
Cleanup unused loggers () 2021-02-14 13:46:58 +01:00
J. Nick Koston 374aa3aee1
Fix homekit options not being prefilled ()
* Fix homekit options not being prefilled

When changing homekit options, the existing ones
were not being prefilled on the form.

* hide camera screen if no cameras
2021-02-05 02:39:07 +01:00
J. Nick Koston 463a32819c
Ensure homekit never picks a port that another config entry uses () 2021-02-02 14:30:38 +01:00
J. Nick Koston 5f9a1d105c
Improve HomeKit Accessory Mode UX () 2021-01-29 09:57:13 -06:00
J. Nick Koston af21893652
Remove safe mode from HomeKit ()
Safe mode was added to work around a race condition where
the mdns announcment was sent too early and would cause
pairing to fail. Since this has been corrected in
HAP-python, there is no longer a need to have
safe mode.
2021-01-11 14:26:09 +01:00
J. Nick Koston 4905be0c40
Move HomeKit autostart to advanced options flow () 2020-12-29 13:54:24 +01:00
J. Nick Koston 3ffa050905
Support HomeKit accessory mode ()
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-10-15 11:59:50 -05:00
J. Nick Koston c5ae801bcb
Allow HomeKit to be configured in include mode from the UI () 2020-10-15 15:33:01 +02:00