Variables | |
| _LOGGER = logging.getLogger(__name__) | |
| BASIC_INFO_SCHEMA | |
| CAMERA_SCHEMA | |
| CODE_SCHEMA | |
| COVER_SCHEMA | |
| FEATURE_SCHEMA | |
| HUMIDIFIER_SCHEMA | |
| string | INVALID_END_CHARS = "-_ " |
| int | MAX_PORT = 65535 |
| int | MAX_VERSION_PART = 2**32 - 1 |
| MEDIA_PLAYER_SCHEMA | |
| NUMBERS_ONLY_RE = re.compile(r"[^\d.]+") | |
| SENSOR_SCHEMA | |
| SWITCH_TYPE_SCHEMA | |
| list | VALID_AUDIO_CODECS = [AUDIO_CODEC_OPUS, VIDEO_CODEC_COPY] |
| list | VALID_VIDEO_CODECS |
| VERSION_RE = re.compile(r"([0-9]+)(\.[0-9]+)?(\.[0-9]+)?") | |
Collection of useful functions for the HomeKit component.
|
private |
| homeassistant.components.homekit.util.BASIC_INFO_SCHEMA |
| homeassistant.components.homekit.util.CODE_SCHEMA |
| homeassistant.components.homekit.util.COVER_SCHEMA |
| homeassistant.components.homekit.util.FEATURE_SCHEMA |
| homeassistant.components.homekit.util.HUMIDIFIER_SCHEMA |
| string homeassistant.components.homekit.util.INVALID_END_CHARS = "-_ " |
| int homeassistant.components.homekit.util.MAX_VERSION_PART = 2**32 - 1 |
| homeassistant.components.homekit.util.MEDIA_PLAYER_SCHEMA |
| homeassistant.components.homekit.util.NUMBERS_ONLY_RE = re.compile(r"[^\d.]+") |
| homeassistant.components.homekit.util.SENSOR_SCHEMA |
| homeassistant.components.homekit.util.SWITCH_TYPE_SCHEMA |
| list homeassistant.components.homekit.util.VALID_AUDIO_CODECS = [AUDIO_CODEC_OPUS, VIDEO_CODEC_COPY] |
| list homeassistant.components.homekit.util.VALID_VIDEO_CODECS |