Functions | |
| Controller | async_get_controller (HomeAssistant hass) |
| str | folded_name (str name) |
| IidTuple|None | unique_id_to_iids (str unique_id) |
Variables | |
| IidTuple | |
Helper functions for the homekit_controller component.
| Controller homeassistant.components.homekit_controller.utils.async_get_controller | ( | HomeAssistant | hass | ) |
| str homeassistant.components.homekit_controller.utils.folded_name | ( | str | name | ) |
| IidTuple | None homeassistant.components.homekit_controller.utils.unique_id_to_iids | ( | str | unique_id | ) |
Convert a unique_id to a tuple of accessory id, service iid and characteristic iid. Depending on the field in the accessory map that is referenced, some of these may be None. Returns None if this unique_id doesn't follow the homekit_controller scheme and is invalid.