* iZone component * Rename constants to const. * Changes as per code review. * Stop listening if discovery times out. * Unload properly * Changes as per code review * Climate 1.0 * Use dispatcher instead of listener * Free air settings * Test case for config flow. * Changes as per code review * Fix error on shutdown * Changes as per code review * Lint fix * Black formatting * Black on test * Fix test * Lint fix * Formatting * Updated requirements * Remaining patches * Per code r/v
14 lines
454 B
Python
14 lines
454 B
Python
"""Constants used by the izone component."""
|
|
|
|
IZONE = "izone"
|
|
|
|
DATA_DISCOVERY_SERVICE = "izone_discovery"
|
|
DATA_CONFIG = "izone_config"
|
|
|
|
DISPATCH_CONTROLLER_DISCOVERED = "izone_controller_discovered"
|
|
DISPATCH_CONTROLLER_DISCONNECTED = "izone_controller_disconnected"
|
|
DISPATCH_CONTROLLER_RECONNECTED = "izone_controller_disconnected"
|
|
DISPATCH_CONTROLLER_UPDATE = "izone_controller_update"
|
|
DISPATCH_ZONE_UPDATE = "izone_zone_update"
|
|
|
|
TIMEOUT_DISCOVERY = 20
|