core/homeassistant/helpers
J. Nick Koston 793592b2b8
Config flow for homekit (#34560)
* Config flow for homekit

Allows multiple homekit bridges to run

HAP-python state is now stored at .storage/homekit.{entry_id}.state
aids is now stored at .storage/homekit.{entry_id}.aids

Overcomes 150 device limit by supporting
multiple bridges.

Name and port are now automatically allocated
to avoid conflicts which was one of the main
reasons pairing failed.

YAML configuration remains available in order to offer entity
specific configuration.

Entries created by config flow can add and remove
included domains and entities without having to restart

* Fix services as there are multiple now

* migrate in executor

* drop title from strings

* Update homeassistant/components/homekit/strings.json

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>

* Make auto_start advanced mode only, add coverage

* put back title

* more references

* delete port since manual config is no longer needed

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-04-30 23:05:06 -05:00
..
__init__.py Type hint improvements (#31876) 2020-02-16 13:47:55 +01:00
aiohttp_client.py Revert "Use orjson to parse json faster (#32153)" (#32185) 2020-02-25 21:07:16 +01:00
area_registry.py Sort imports according to PEP8 for 'homeassistant' folder (#29789) 2019-12-09 16:42:10 +01:00
check_config.py Use set & dict literals (#33636) 2020-04-04 20:05:15 +02:00
collection.py Parallelize collections helper (#34783) 2020-04-28 14:31:16 -07:00
condition.py Fix not condition validation and entity/device extraction (#34959) 2020-05-01 00:15:53 +02:00
config_entry_flow.py Allow ignoring discovery config flow helper (#34740) 2020-04-26 23:35:04 -07:00
config_entry_oauth2_flow.py Make f-strings without placeholder normal strings (#33938) 2020-04-10 09:59:06 +02:00
config_validation.py Add NOT condition helper (#34624) 2020-04-24 09:40:23 -07:00
data_entry_flow.py Allow flows to know if user is in advanced mode (#34629) 2020-04-24 09:31:56 -07:00
debounce.py Improve debounce cooldown (#32161) 2020-02-26 11:27:37 -08:00
deprecation.py Adds guards for missing information in call stack frames (#27217) 2019-10-05 11:59:33 +02:00
device_registry.py Introduce a singleton decorator (#34803) 2020-04-30 16:47:14 -07:00
discovery.py Type hint improvements (#33082) 2020-04-17 11:33:58 -07:00
dispatcher.py Fix dispatcher logging (#33299) 2020-03-26 20:44:44 -07:00
entity.py Fix flapping reload tests (#34837) 2020-04-28 22:58:55 -07:00
entity_component.py Minor helpers cleanup (#34786) 2020-04-28 14:31:25 -07:00
entity_platform.py Dump states in event handler for HA_Stop (#33974) 2020-04-13 17:41:01 -07:00
entity_registry.py Introduce a singleton decorator (#34803) 2020-04-30 16:47:14 -07:00
entity_values.py Migrate legacy typehints in core to PEP-526 (#26403) 2019-09-03 20:36:04 -07:00
entityfilter.py Config flow for homekit (#34560) 2020-04-30 23:05:06 -05:00
event.py Dump states in event handler for HA_Stop (#33974) 2020-04-13 17:41:01 -07:00
icon.py Various string cleanups (#30435) 2020-01-03 14:47:06 +01:00
integration_platform.py Add integration platform helper (#29914) 2019-12-13 15:38:41 +01:00
intent.py Various string cleanups (#30435) 2020-01-03 14:47:06 +01:00
json.py Black 2019-07-31 12:25:30 -07:00
location.py Type 2019-07-31 13:08:31 -07:00
logging.py Upgrade mypy to 0.770, tighten config a bit (#32715) 2020-03-12 11:52:20 +01:00
network.py Sort imports according to PEP8 for 'homeassistant' folder (#29789) 2019-12-09 16:42:10 +01:00
restore_state.py Dump states in event handler for HA_Stop (#33974) 2020-04-13 17:41:01 -07:00
script.py Directly call write state 2 (#33513) 2020-04-03 09:34:50 +02:00
service.py Minor helpers cleanup (#34786) 2020-04-28 14:31:25 -07:00
signal.py Sort imports according to PEP8 for 'homeassistant' folder (#29789) 2019-12-09 16:42:10 +01:00
singleton.py Introduce a singleton decorator (#34803) 2020-04-30 16:47:14 -07:00
state.py Add transition support to scenes, cleanup blocking parameter (#34434) 2020-04-20 18:07:50 -07:00
storage.py Don't write storage to disk while stopping (#33456) 2020-04-02 10:25:28 -07:00
sun.py Enable pylint import-outside-toplevel (#33631) 2020-04-04 17:07:36 +02:00
system_info.py Show kernel version on linux (#32276) 2020-02-27 13:59:30 -08:00
temperature.py Upgrade mypy to 0.770, tighten config a bit (#32715) 2020-03-12 11:52:20 +01:00
template.py Fix relative_time datetime object without timezone (#34273) 2020-04-20 10:29:12 -07:00
translation.py Translation fixes and tweaks (#34489) 2020-04-21 17:57:21 -07:00
typing.py Type hint improvements (#32905) 2020-03-18 19:27:25 +02:00
update_coordinator.py Update Coordinator: Only schedule a refresh if listenerrs (#34317) 2020-04-16 16:44:14 -07:00