mirror of
https://github.com/home-assistant/core.git
synced 2025-07-03 19:37:10 +00:00

* Add checkbox in options to sync all feeds once * Add sync mode selector in async_step_user Remove checkbox in options * Correct use of SYNC_MODE & SYNC_MODE_AUTO in tests * Use dropdown for mode selection * rmv_unused_const * Add separate tests + use SelectSelector
23 lines
538 B
Python
23 lines
538 B
Python
"""Constants for the emoncms integration."""
|
|
|
|
import logging
|
|
|
|
CONF_EXCLUDE_FEEDID = "exclude_feed_id"
|
|
CONF_ONLY_INCLUDE_FEEDID = "include_only_feed_id"
|
|
CONF_MESSAGE = "message"
|
|
CONF_SUCCESS = "success"
|
|
DOMAIN = "emoncms"
|
|
EMONCMS_UUID_DOC_URL = (
|
|
"https://docs.openenergymonitor.org/emoncms/update.html"
|
|
"#upgrading-to-a-version-producing-a-unique-identifier"
|
|
)
|
|
FEED_ID = "id"
|
|
FEED_NAME = "name"
|
|
FEED_TAG = "tag"
|
|
SYNC_MODE = "sync_mode"
|
|
SYNC_MODE_AUTO = "auto"
|
|
SYNC_MODE_MANUAL = "manual"
|
|
|
|
|
|
LOGGER = logging.getLogger(__package__)
|