d766aae436
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: frenck <195327+frenck@users.noreply.github.com>
25 lines
475 B
Python
25 lines
475 B
Python
"""Constants for the Homewizard integration."""
|
|
|
|
from datetime import timedelta
|
|
import logging
|
|
|
|
from homeassistant.const import Platform
|
|
|
|
DOMAIN = "homewizard"
|
|
PLATFORMS = [
|
|
Platform.BUTTON,
|
|
Platform.NUMBER,
|
|
Platform.SELECT,
|
|
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)
|