mirror of
https://github.com/home-assistant/core.git
synced 2025-04-25 01:38:02 +00:00

* Add Config Flow for Rova component * Add tests for Rova config flow * Fix data type * Add rova to requirements for tests * Removed seperate function for area check and global variable * Add unique name and id to rova entities * Add support for multiple rova entries * Fix correct error after connection timeout or http error * Revert SENSOR_TYPES update * Add existing rova configuration from yaml as new entity * Add tests for import configuration.yaml flow * Cleanup code * Update valid rova area check in config flow * Changed abort keys and messages * Updated using self.add_suggested_values_to_schema * Update to pass tests * Added missing strings * Update sensor unique_ids * Fix service name formatting * Update tests for Rova entry * Update tests to recover after error * Update test name * Apply suggestions from code review --------- Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
14 lines
236 B
Python
14 lines
236 B
Python
"""Const file for Rova."""
|
|
|
|
import logging
|
|
|
|
LOGGER = logging.getLogger(__package__)
|
|
|
|
DEFAULT_NAME = "Rova"
|
|
|
|
CONF_ZIP_CODE = "zip_code"
|
|
CONF_HOUSE_NUMBER = "house_number"
|
|
CONF_HOUSE_NUMBER_SUFFIX = "house_number_suffix"
|
|
|
|
DOMAIN = "rova"
|