mirror of
https://github.com/home-assistant/core.git
synced 2025-07-05 04:17:10 +00:00

* Implement battery group mode for HomeWizard P1 * Clean up test * Disable 'entity_registry_enabled_default' * Fix failing tests because of 'entity_registry_enabled_default' * Proof entities are disabled by default * Undo dev change * Update homeassistant/components/homewizard/select.py * Update homeassistant/components/homewizard/select.py Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com> * Update homeassistant/components/homewizard/strings.json * Apply suggestions from code review * Update tests due to updated translations --------- Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
27 lines
511 B
Python
27 lines
511 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.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)
|