* Adding config flow * Fix setup issues. * Added test for config_flow * Refactor schemas. * Fixed ruff-format on const.py * Added geniushub-cleint to requirements_test_all.txt * Updates from review. * Correct multiple logger comment errors. * User menu rather than check box. * Correct logger messages. * Correct test_config_flow * Import config entry from YAML * Config flow integration * Refactor genius hub test_config_flow. * Improvements and simplification from code review. * Correct tests * Stop device being added twice. * Correct validate_input. * Changes to meet code review three week ago. * Fix Ruff undefined error * Update homeassistant/components/geniushub/config_flow.py Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com> * Update homeassistant/components/geniushub/config_flow.py Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com> * Change case Cloud and Local to CLOUD and LOCAL. * More from code review * Fix * Fix * Update homeassistant/components/geniushub/strings.json --------- Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
19 lines
329 B
Python
19 lines
329 B
Python
"""Constants for Genius Hub."""
|
|
|
|
from datetime import timedelta
|
|
|
|
from homeassistant.const import Platform
|
|
|
|
DOMAIN = "geniushub"
|
|
|
|
SCAN_INTERVAL = timedelta(seconds=60)
|
|
|
|
SENSOR_PREFIX = "Genius"
|
|
|
|
PLATFORMS = (
|
|
Platform.BINARY_SENSOR,
|
|
Platform.CLIMATE,
|
|
Platform.SENSOR,
|
|
Platform.SWITCH,
|
|
Platform.WATER_HEATER,
|
|
)
|