* Adding config flow and tests * Removing update and adding to integrations.json * Updating hassfest * Removing comments * Removing unique ID * Putting the setup_platform out of order * Adding feedback on issues and importing * Removing uniqueID (again) * Adjusting unload and typo * Updating manifest properly * Minor patching * Removing hass.data.setdefault(DOMAIN, {}) * Moving load_platform to __init__.py * Update homeassistant/components/fastdotcom/config_flow.py Co-authored-by: G Johansson <goran.johansson@shiftit.se> * Update homeassistant/components/fastdotcom/strings.json Co-authored-by: G Johansson <goran.johansson@shiftit.se> * Update homeassistant/components/fastdotcom/__init__.py Co-authored-by: G Johansson <goran.johansson@shiftit.se> * Update homeassistant/components/fastdotcom/config_flow.py Co-authored-by: G Johansson <goran.johansson@shiftit.se> * Adding an unload function for the timer * Adding issue on setup platform in sensor * Update homeassistant/components/fastdotcom/config_flow.py Co-authored-by: G Johansson <goran.johansson@shiftit.se> * Removing platform * Fixing strings.json * Fine-tuning * Putting back last_state --------- Co-authored-by: G Johansson <goran.johansson@shiftit.se>
15 lines
325 B
Python
15 lines
325 B
Python
"""Constants for the Fast.com integration."""
|
|
import logging
|
|
|
|
from homeassistant.const import Platform
|
|
|
|
LOGGER = logging.getLogger(__package__)
|
|
|
|
DOMAIN = "fastdotcom"
|
|
DATA_UPDATED = f"{DOMAIN}_data_updated"
|
|
|
|
CONF_MANUAL = "manual"
|
|
|
|
DEFAULT_NAME = "Fast.com"
|
|
DEFAULT_INTERVAL = 1
|
|
PLATFORMS: list[Platform] = [Platform.SENSOR]
|