* Added config_flow for edl21. * Added already_configured check. * Added config_flow test * Added setup of the edl21 from configuration.yaml * Ran script.gen_requirements_all * Removed the generated translation file. * Added a deprecation warning when importing from configuration.yaml. * Readded the platform schema. * Added handling of optional name for legacy configuration. * Fixed handling of default value in legacy configuration. * Added duplication check entries created via legacy config. * Apply suggestions from code review Co-authored-by: epenet <6771947+epenet@users.noreply.github.com> * Apply suggestions from code review * Apply suggestions from code review * Apply suggestions from code review * Apply suggestions from code review Co-authored-by: epenet <6771947+epenet@users.noreply.github.com> * Apply suggestions from code review --------- Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
12 lines
222 B
Python
12 lines
222 B
Python
"""Constants for the EDL21 component."""
|
|
import logging
|
|
|
|
LOGGER = logging.getLogger(__package__)
|
|
|
|
DOMAIN = "edl21"
|
|
|
|
CONF_SERIAL_PORT = "serial_port"
|
|
|
|
SIGNAL_EDL21_TELEGRAM = "edl21_telegram"
|
|
|
|
DEFAULT_TITLE = "Smart Meter"
|