mirror of
https://github.com/home-assistant/core.git
synced 2025-06-05 05:37:04 +00:00
21 lines
471 B
Python
21 lines
471 B
Python
"""Constants for the Homewizard integration."""
|
|
|
|
from __future__ import annotations
|
|
|
|
from datetime import timedelta
|
|
import logging
|
|
|
|
from homeassistant.const import Platform
|
|
|
|
DOMAIN = "homewizard"
|
|
PLATFORMS = [Platform.BUTTON, Platform.NUMBER, Platform.SENSOR, Platform.SWITCH]
|
|
|
|
LOGGER = logging.getLogger(__package__)
|
|
|
|
# Platform config.
|
|
CONF_PRODUCT_NAME = "product_name"
|
|
CONF_PRODUCT_TYPE = "product_type"
|
|
CONF_SERIAL = "serial"
|
|
|
|
UPDATE_INTERVAL = timedelta(seconds=5)
|