mirror of
https://github.com/home-assistant/core.git
synced 2026-08-24 10:13:52 -05:00
Add pylint checker for duplicate homeassistant.const definitions (#170848)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
c705e8ff56
commit
6fa5fc77aa
@@ -19,6 +19,7 @@ from .hub import AdsHub
|
||||
|
||||
DEFAULT_NAME = "ADS select"
|
||||
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
CONF_OPTIONS = "options"
|
||||
|
||||
PLATFORM_SCHEMA = SELECT_PLATFORM_SCHEMA.extend(
|
||||
|
||||
@@ -2,4 +2,5 @@
|
||||
|
||||
DOMAIN = "altruist"
|
||||
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
CONF_HOST = "host"
|
||||
|
||||
@@ -10,6 +10,7 @@ DEFAULT_CONVERSATION_NAME = "Claude conversation"
|
||||
DEFAULT_AI_TASK_NAME = "Claude AI Task"
|
||||
|
||||
CONF_RECOMMENDED = "recommended"
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
CONF_PROMPT = "prompt"
|
||||
CONF_CHAT_MODEL = "chat_model"
|
||||
CONF_CODE_EXECUTION = "code_execution"
|
||||
|
||||
@@ -19,6 +19,8 @@ DEVICES = "devices"
|
||||
MANUFACTURER = "ABB"
|
||||
|
||||
ATTR_DEVICE_NAME = "device_name"
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
ATTR_DEVICE_ID = "device_id"
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
ATTR_MODEL = "model"
|
||||
ATTR_FIRMWARE = "firmware"
|
||||
|
||||
@@ -11,6 +11,7 @@ CONF_ACCESS_KEY_ID = "access_key_id"
|
||||
CONF_SECRET_ACCESS_KEY = "secret_access_key"
|
||||
CONF_ENDPOINT_URL = "endpoint_url"
|
||||
CONF_BUCKET = "bucket"
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
CONF_PREFIX = "prefix"
|
||||
|
||||
AWS_DOMAIN = "amazonaws.com"
|
||||
|
||||
@@ -10,6 +10,7 @@ DOMAIN: Final = "backblaze_b2"
|
||||
CONF_KEY_ID = "key_id"
|
||||
CONF_APPLICATION_KEY = "application_key"
|
||||
CONF_BUCKET = "bucket"
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
CONF_PREFIX = "prefix"
|
||||
|
||||
DATA_BACKUP_AGENT_LISTENERS: HassKey[list[Callable[[], None]]] = HassKey(
|
||||
|
||||
@@ -16,6 +16,7 @@ CONF_DETAILS = "details"
|
||||
CONF_PASSIVE = "passive"
|
||||
|
||||
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
CONF_SOURCE: Final = "source"
|
||||
CONF_SOURCE_DOMAIN: Final = "source_domain"
|
||||
CONF_SOURCE_MODEL: Final = "source_model"
|
||||
|
||||
@@ -6,6 +6,7 @@ from typing import Final
|
||||
ATTR_CID: Final = "cid"
|
||||
ATTR_MAC: Final = "macAddr"
|
||||
ATTR_MANUFACTURER: Final = "Sony"
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
ATTR_MODEL: Final = "model"
|
||||
|
||||
CONF_NICKNAME: Final = "nickname"
|
||||
|
||||
@@ -20,6 +20,7 @@ if TYPE_CHECKING:
|
||||
|
||||
LOGGER = logging.getLogger(__name__)
|
||||
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
ATTR_DEVICE_ID = "device_id"
|
||||
ATTR_MONDAY_SLOTS = "monday_slots"
|
||||
ATTR_TUESDAY_SLOTS = "tuesday_slots"
|
||||
|
||||
@@ -13,6 +13,7 @@ if TYPE_CHECKING:
|
||||
DOMAIN = "calendar"
|
||||
DATA_COMPONENT: HassKey[EntityComponent[CalendarEntity]] = HassKey(DOMAIN)
|
||||
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
CONF_EVENT = "event"
|
||||
|
||||
|
||||
|
||||
@@ -45,7 +45,9 @@ HA_USER_AGENT = (
|
||||
)
|
||||
|
||||
ATTR_UID = "uid"
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
ATTR_LATITUDE = "latitude"
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
ATTR_LONGITUDE = "longitude"
|
||||
ATTR_EMPTY_SLOTS = "empty_slots"
|
||||
ATTR_FREE_EBIKES = "free_ebikes"
|
||||
|
||||
@@ -29,6 +29,7 @@ BASE_API_URL = "https://rest.clicksend.com/v3"
|
||||
|
||||
HEADERS = {"Content-Type": CONTENT_TYPE_JSON}
|
||||
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
CONF_LANGUAGE = "language"
|
||||
CONF_VOICE = "voice"
|
||||
|
||||
|
||||
@@ -11,6 +11,7 @@ CONF_ACCESS_KEY_ID = "access_key_id"
|
||||
CONF_SECRET_ACCESS_KEY = "secret_access_key"
|
||||
CONF_ENDPOINT_URL = "endpoint_url"
|
||||
CONF_BUCKET = "bucket"
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
CONF_PREFIX = "prefix"
|
||||
|
||||
# R2 is S3-compatible. Endpoint should be like:
|
||||
|
||||
@@ -6,4 +6,5 @@ ATTR_URL = "color_extract_url"
|
||||
DOMAIN = "color_extractor"
|
||||
DEFAULT_NAME = "Color extractor"
|
||||
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
SERVICE_TURN_ON = "turn_on"
|
||||
|
||||
@@ -19,6 +19,7 @@ ATTR_AGENT_ID = "agent_id"
|
||||
ATTR_CONVERSATION_ID = "conversation_id"
|
||||
|
||||
SERVICE_PROCESS = "process"
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
SERVICE_RELOAD = "reload"
|
||||
|
||||
DATA_COMPONENT: HassKey[EntityComponent[ConversationEntity]] = HassKey(DOMAIN)
|
||||
|
||||
@@ -43,6 +43,7 @@ PLATFORMS = [
|
||||
]
|
||||
|
||||
ATTR_DARK = "dark"
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
ATTR_LOCKED = "locked"
|
||||
ATTR_OFFSET = "offset"
|
||||
ATTR_ON = "on"
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
CONF_COMMAND_TOPIC = "drop_command_topic"
|
||||
CONF_DATA_TOPIC = "drop_data_topic"
|
||||
CONF_DEVICE_DESC = "device_desc"
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
CONF_DEVICE_ID = "device_id"
|
||||
CONF_DEVICE_TYPE = "device_type"
|
||||
CONF_HUB_ID = "drop_hub_id"
|
||||
|
||||
@@ -49,6 +49,7 @@ CURRENT_SYSTEM_PRESSURE = "current_system_pressure"
|
||||
HIGH_SYSTEM_PRESSURE = "high_system_pressure"
|
||||
LOW_SYSTEM_PRESSURE = "low_system_pressure"
|
||||
BATTERY = "battery"
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
TEMPERATURE = "temperature"
|
||||
INLET_TDS = "inlet_tds"
|
||||
OUTLET_TDS = "outlet_tds"
|
||||
|
||||
@@ -1,8 +1,10 @@
|
||||
"""Constants for the ElevenLabs text-to-speech integration."""
|
||||
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
ATTR_MODEL = "model"
|
||||
|
||||
CONF_VOICE = "voice"
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
CONF_MODEL = "model"
|
||||
CONF_CONFIGURE_VOICE = "configure_voice"
|
||||
CONF_STABILITY = "stability"
|
||||
|
||||
@@ -43,6 +43,7 @@ DISPLAY_MESSAGE_SERVICE_SCHEMA: VolDictType = {
|
||||
}
|
||||
|
||||
SERVICE_ALARM_DISPLAY_MESSAGE = "alarm_display_message"
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
SERVICE_ALARM_ARM_VACATION = "alarm_arm_vacation"
|
||||
SERVICE_ALARM_ARM_HOME_INSTANT = "alarm_arm_home_instant"
|
||||
SERVICE_ALARM_ARM_NIGHT_INSTANT = "alarm_arm_night_instant"
|
||||
|
||||
@@ -32,6 +32,7 @@ from .discovery import (
|
||||
async_update_entry_from_discovery,
|
||||
)
|
||||
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
CONF_DEVICE = "device"
|
||||
|
||||
NON_SECURE_PORT = 2101
|
||||
|
||||
@@ -8,6 +8,7 @@ NAME: Final = "EnergyID"
|
||||
# --- Config Flow and Entry Data ---
|
||||
CONF_PROVISIONING_KEY: Final = "provisioning_key"
|
||||
CONF_PROVISIONING_SECRET: Final = "provisioning_secret"
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
CONF_DEVICE_ID: Final = "device_id"
|
||||
CONF_DEVICE_NAME: Final = "device_name"
|
||||
|
||||
|
||||
@@ -5,12 +5,15 @@ from typing import Literal
|
||||
DOMAIN = "fish_audio"
|
||||
|
||||
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
CONF_NAME: Literal["name"] = "name"
|
||||
CONF_USER_ID: Literal["user_id"] = "user_id"
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
CONF_API_KEY: Literal["api_key"] = "api_key"
|
||||
CONF_VOICE_ID: Literal["voice_id"] = "voice_id"
|
||||
CONF_BACKEND: Literal["backend"] = "backend"
|
||||
CONF_SELF_ONLY: Literal["self_only"] = "self_only"
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
CONF_LANGUAGE: Literal["language"] = "language"
|
||||
CONF_SORT_BY: Literal["sort_by"] = "sort_by"
|
||||
CONF_LATENCY: Literal["latency"] = "latency"
|
||||
|
||||
@@ -13,6 +13,7 @@ ATTR_LAST_SAVED_AT: Final = "last_saved_at"
|
||||
|
||||
ATTR_DURATION: Final = "duration"
|
||||
ATTR_DISTANCE: Final = "distance"
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
ATTR_ELEVATION: Final = "elevation"
|
||||
ATTR_HEIGHT: Final = "height"
|
||||
ATTR_WEIGHT: Final = "weight"
|
||||
|
||||
@@ -7,6 +7,7 @@ API_REFRESH = timedelta(minutes=5)
|
||||
|
||||
DOMAIN = "fujitsu_fglair"
|
||||
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
CONF_REGION = "region"
|
||||
CONF_EUROPE = "is_europe"
|
||||
REGION_EU = "eu"
|
||||
|
||||
@@ -28,6 +28,7 @@ CONF_SENSOR = "target_sensor"
|
||||
CONF_MIN_HUMIDITY = "min_humidity"
|
||||
CONF_MAX_HUMIDITY = "max_humidity"
|
||||
CONF_TARGET_HUMIDITY = "target_humidity"
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
CONF_DEVICE_CLASS = "device_class"
|
||||
CONF_MIN_DUR = "min_cycle_duration"
|
||||
CONF_DRY_TOLERANCE = "dry_tolerance"
|
||||
|
||||
@@ -15,6 +15,7 @@ DEFAULT_STT_NAME = "Google AI STT"
|
||||
DEFAULT_TTS_NAME = "Google AI TTS"
|
||||
DEFAULT_AI_TASK_NAME = "Google AI Task"
|
||||
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
CONF_PROMPT = "prompt"
|
||||
DEFAULT_STT_PROMPT = "Transcribe the attached audio"
|
||||
|
||||
|
||||
@@ -12,6 +12,7 @@ DOMAIN = "google_travel_time"
|
||||
ATTRIBUTION = "Powered by Google"
|
||||
|
||||
CONF_DESTINATION = "destination"
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
CONF_OPTIONS = "options"
|
||||
CONF_ORIGIN = "origin"
|
||||
CONF_AVOID = "avoid"
|
||||
|
||||
@@ -34,6 +34,7 @@ from .const import DOMAIN
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
|
||||
ATTR_CLIMB = "climb"
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
ATTR_ELEVATION = "elevation"
|
||||
ATTR_SPEED = "speed"
|
||||
ATTR_TOTAL_SATELLITES = "total_satellites"
|
||||
|
||||
@@ -3,10 +3,12 @@
|
||||
from homeassistant.const import Platform
|
||||
|
||||
CONF_PLANT_ID = "plant_id"
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
CONF_REGION = "region"
|
||||
|
||||
|
||||
# API key support
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
CONF_API_KEY = "api_key"
|
||||
|
||||
# Auth types for config flow
|
||||
|
||||
@@ -131,9 +131,11 @@ ATTR_AUTO_UPDATE = "auto_update"
|
||||
ATTR_VERSION = "version"
|
||||
ATTR_VERSION_LATEST = "version_latest"
|
||||
ATTR_CPU_PERCENT = "cpu_percent"
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
ATTR_LOCATION = "location"
|
||||
ATTR_MEMORY_PERCENT = "memory_percent"
|
||||
ATTR_SLUG = "slug"
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
ATTR_STATE = "state"
|
||||
ATTR_STARTED = "started"
|
||||
ATTR_URL = "url"
|
||||
|
||||
@@ -28,6 +28,7 @@ from homeassistant.helpers.typing import ConfigType, DiscoveryInfoType
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
|
||||
ATTR_DEVICE = "device"
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
ATTR_MODEL = "model"
|
||||
|
||||
DEFAULT_HOST = "localhost"
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
DOMAIN = "hegel"
|
||||
DEFAULT_PORT = 50001
|
||||
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
CONF_MODEL = "model"
|
||||
CONF_MAX_VOLUME = "max_volume" # 1.0 means amp's internal max
|
||||
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
|
||||
from homeassistant.const import Platform
|
||||
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
ATTR_MODE = "mode"
|
||||
ATTR_TIME_PERIOD = "time_period"
|
||||
ATTR_ONOFF = "on_off"
|
||||
|
||||
@@ -32,6 +32,7 @@ from homeassistant.helpers.typing import ConfigType
|
||||
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
CONF_ENTITY_ID = "entity_id"
|
||||
CONF_FROM = "from"
|
||||
CONF_TO = "to"
|
||||
|
||||
@@ -38,6 +38,7 @@ from homeassistant.helpers.trigger import TriggerActionType, TriggerInfo
|
||||
from homeassistant.helpers.typing import ConfigType
|
||||
from homeassistant.util import dt as dt_util
|
||||
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
CONF_WEEKDAY = "weekday"
|
||||
|
||||
_TIME_TRIGGER_ENTITY = vol.All(str, cv.entity_domain(["input_datetime", "sensor"]))
|
||||
|
||||
@@ -39,6 +39,7 @@ _LOGGER = logging.getLogger(__name__)
|
||||
|
||||
PLATFORMS: list[Platform] = [Platform.BINARY_SENSOR, Platform.BUTTON, Platform.LIGHT]
|
||||
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
CONF_COMMAND = "command"
|
||||
|
||||
EVENT_BUTTON_PRESS = "homeworks_button_press"
|
||||
|
||||
@@ -15,6 +15,7 @@ ATTR_ACTIONS = "actions"
|
||||
ATTR_BADGE = "badge"
|
||||
ATTR_DATA = "data"
|
||||
ATTR_DIR = "dir"
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
ATTR_ICON = "icon"
|
||||
ATTR_IMAGE = "image"
|
||||
ATTR_LANG = "lang"
|
||||
|
||||
@@ -27,6 +27,7 @@ from .const import (
|
||||
HumidifierEntityFeature,
|
||||
)
|
||||
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
CONF_MODE = "mode"
|
||||
|
||||
IS_MODE_CONDITION_SCHEMA = ENTITY_STATE_CONDITION_SCHEMA_ANY_ALL.extend(
|
||||
|
||||
@@ -18,6 +18,7 @@ from homeassistant.helpers.trigger import (
|
||||
|
||||
from .const import ATTR_ACTION, DOMAIN, HumidifierAction, HumidifierEntityFeature
|
||||
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
CONF_MODE = "mode"
|
||||
|
||||
MODE_CHANGED_TRIGGER_SCHEMA = ENTITY_STATE_TRIGGER_SCHEMA_FIRST_LAST.extend(
|
||||
|
||||
@@ -23,7 +23,9 @@ _LOGGER = logging.getLogger(__name__)
|
||||
PARALLEL_UPDATES = 1
|
||||
|
||||
ATTR_SEVERITY = "severity"
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
ATTR_LATITUDE = "latitude"
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
ATTR_LONGITUDE = "longitude"
|
||||
ATTR_DATE_TIME = "date_time"
|
||||
|
||||
|
||||
@@ -37,6 +37,7 @@ _LOGGER = logging.getLogger(__name__)
|
||||
DOMAIN = "input_select"
|
||||
|
||||
CONF_INITIAL = "initial"
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
CONF_OPTIONS = "options"
|
||||
|
||||
SERVICE_SET_OPTIONS = "set_options"
|
||||
|
||||
@@ -29,6 +29,7 @@ CONF_INTENTS = "intents"
|
||||
CONF_SPEECH = "speech"
|
||||
CONF_REPROMPT = "reprompt"
|
||||
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
CONF_ACTION = "action"
|
||||
CONF_CARD = "card"
|
||||
CONF_TITLE = "title"
|
||||
|
||||
@@ -32,6 +32,7 @@ CONF_ACTION_LABEL_TEXT = "text"
|
||||
CONF_ACTION_ICON = "icon"
|
||||
CONF_ACTION_ICON_COLOR = "color"
|
||||
CONF_ACTION_ICON_ICON = "icon"
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
CONF_ACTIONS = "actions"
|
||||
CONF_ACTION_SHOW_IN_CARPLAY = "show_in_carplay"
|
||||
CONF_ACTION_SHOW_IN_WATCH = "show_in_watch"
|
||||
|
||||
@@ -34,6 +34,7 @@ DATA_UPDATED = f"{DOMAIN}_data_updated"
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
|
||||
CONF_DURATION = "duration"
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
CONF_PARALLEL = "parallel"
|
||||
CONF_MANUAL = "manual"
|
||||
|
||||
|
||||
@@ -38,6 +38,7 @@ SERVICE_DELETE_ZWAVE_LOCK_USER_CODE = "delete_zwave_lock_user_code"
|
||||
CONF_PARAMETER = "parameter"
|
||||
CONF_PARAMETERS = "parameters"
|
||||
CONF_USER_NUM = "user_num"
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
CONF_CODE = "code"
|
||||
CONF_VALUE = "value"
|
||||
CONF_INIT = "init"
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
DOMAIN = "jewish_calendar"
|
||||
|
||||
ATTR_AFTER_SUNSET = "after_sunset"
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
ATTR_DATE = "date"
|
||||
ATTR_NUSACH = "nusach"
|
||||
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
DOMAIN = "kiosker"
|
||||
|
||||
# Configuration keys
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
CONF_API_TOKEN = "api_token"
|
||||
|
||||
# Default values
|
||||
|
||||
@@ -28,6 +28,7 @@ ATTR_CYCLE_COUNT = "cycle_count"
|
||||
ATTR_ENERGY_FULL = "energy_full"
|
||||
ATTR_ENERGY_FULL_DESIGN = "energy_full_design"
|
||||
ATTR_ENERGY_NOW = "energy_now"
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
ATTR_MANUFACTURER = "manufacturer"
|
||||
ATTR_MODEL_NAME = "model_name"
|
||||
ATTR_POWER_NOW = "power_now"
|
||||
|
||||
@@ -6,6 +6,7 @@ from homeassistant.util import slugify
|
||||
|
||||
DOMAIN = "marantz_infrared"
|
||||
CONF_INFRARED_EMITTER_ENTITY_ID = "infrared_emitter_entity_id"
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
CONF_MODEL = "model"
|
||||
|
||||
MODELS: dict[str, marantz_models.MarantzModel] = {
|
||||
|
||||
@@ -31,6 +31,7 @@ ATTR_AVATAR = "avatar"
|
||||
ATTR_AVATAR_MIME_TYPE = "avatar_mime_type"
|
||||
ATTR_HEADER = "header"
|
||||
ATTR_HEADER_MIME_TYPE = "header_mime_type"
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
ATTR_LOCKED = "locked"
|
||||
ATTR_BOT = "bot"
|
||||
ATTR_DISCOVERABLE = "discoverable"
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
|
||||
DOMAIN = "mcp"
|
||||
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
CONF_ACCESS_TOKEN = "access_token"
|
||||
CONF_AUTHORIZATION_URL = "authorization_url"
|
||||
CONF_TOKEN_URL = "token_url"
|
||||
|
||||
@@ -57,6 +57,7 @@ STREAMABLE_API = "/api/mcp"
|
||||
TIMEOUT = 60 # Seconds
|
||||
|
||||
# Content types
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
CONTENT_TYPE_JSON = "application/json"
|
||||
|
||||
# Legacy SSE endpoint
|
||||
|
||||
@@ -22,7 +22,9 @@ _LOGGER = logging.getLogger(__name__)
|
||||
|
||||
ATTRIBUTION = "Information provided by MeteoAlarm"
|
||||
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
CONF_COUNTRY = "country"
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
CONF_LANGUAGE = "language"
|
||||
CONF_PROVINCE = "province"
|
||||
|
||||
|
||||
@@ -10,6 +10,7 @@ DEFAULT_DETECTION_TIME: Final = 300
|
||||
ATTR_MANUFACTURER: Final = "Mikrotik"
|
||||
ATTR_SERIAL_NUMBER: Final = "serial-number"
|
||||
ATTR_FIRMWARE: Final = "current-firmware"
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
ATTR_MODEL: Final = "model"
|
||||
|
||||
CONF_ARP_PING: Final = "arp_ping"
|
||||
|
||||
@@ -17,7 +17,9 @@ from .minio_helper import MinioEventThread, create_minio_client
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
|
||||
DOMAIN = "minio"
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
CONF_HOST = "host"
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
CONF_PORT = "port"
|
||||
CONF_ACCESS_KEY = "access_key"
|
||||
CONF_SECRET_KEY = "secret_key"
|
||||
|
||||
@@ -27,7 +27,9 @@ ATTR_APP_ID = "app_id"
|
||||
ATTR_APP_NAME = "app_name"
|
||||
ATTR_APP_VERSION = "app_version"
|
||||
ATTR_DEVICE_NAME = "device_name"
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
ATTR_MANUFACTURER = "manufacturer"
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
ATTR_MODEL = "model"
|
||||
ATTR_NO_LEGACY_ENCRYPTION = "no_legacy_encryption"
|
||||
ATTR_OS_NAME = "os_name"
|
||||
|
||||
@@ -29,6 +29,7 @@ DOMAIN: Final = "motioneye"
|
||||
ATTR_EVENT_TYPE: Final = "event_type"
|
||||
ATTR_WEBHOOK_ID: Final = "webhook_id"
|
||||
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
CONF_ACTION: Final = "action"
|
||||
CONF_ADMIN_PASSWORD: Final = "admin_password"
|
||||
CONF_ADMIN_USERNAME: Final = "admin_username"
|
||||
|
||||
@@ -15,6 +15,7 @@ ATTR_MESSAGE_EXPIRY_INTERVAL = "message_expiry_interval"
|
||||
ATTR_PAYLOAD = "payload"
|
||||
ATTR_QOS = "qos"
|
||||
ATTR_RETAIN = "retain"
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
ATTR_SERIAL_NUMBER = "serial_number"
|
||||
ATTR_TOPIC = "topic"
|
||||
|
||||
@@ -50,6 +51,7 @@ CONF_IMAGE_TOPIC = "image_topic"
|
||||
CONF_JSON_ATTRS_TOPIC = "json_attributes_topic"
|
||||
CONF_JSON_ATTRS_TEMPLATE = "json_attributes_template"
|
||||
CONF_KEEPALIVE = "keepalive"
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
CONF_OPTIONS = "options"
|
||||
CONF_ORIGIN = "origin"
|
||||
CONF_QOS = ATTR_QOS
|
||||
|
||||
@@ -60,6 +60,7 @@ from .util import valid_publish_topic, valid_subscribe_topic
|
||||
PARALLEL_UPDATES = 0
|
||||
|
||||
CONF_AVAILABLE_MODES_LIST = "modes"
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
CONF_DEVICE_CLASS = "device_class"
|
||||
CONF_MODE_COMMAND_TEMPLATE = "mode_command_template"
|
||||
CONF_MODE_COMMAND_TOPIC = "mode_command_topic"
|
||||
|
||||
@@ -36,9 +36,11 @@ FAN_SPEED = "fan_speed"
|
||||
SEGMENTS = "segments"
|
||||
STATE = "state"
|
||||
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
STATE_IDLE = "idle"
|
||||
STATE_DOCKED = "docked"
|
||||
STATE_ERROR = "error"
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
STATE_PAUSED = "paused"
|
||||
STATE_RETURNING = "returning"
|
||||
STATE_CLEANING = "cleaning"
|
||||
|
||||
@@ -12,6 +12,7 @@ AUTH_SCHEMA_VERSION = 28
|
||||
# Schema version where hassio discovery support was added
|
||||
HASSIO_DISCOVERY_SCHEMA_VERSION = 28
|
||||
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
CONF_TOKEN = "token"
|
||||
|
||||
ATTR_IS_GROUP = "is_group"
|
||||
|
||||
@@ -92,6 +92,7 @@ ATTR_HOME_ID = "home_id"
|
||||
ATTR_HOME_NAME = "home_name"
|
||||
ATTR_IS_KNOWN = "is_known"
|
||||
ATTR_PERSON = "person"
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
ATTR_PERSONS = "persons"
|
||||
ATTR_PSEUDO = "pseudo"
|
||||
ATTR_SCHEDULE_ID = "schedule_id"
|
||||
|
||||
@@ -27,6 +27,7 @@ ATTR_IMAGE_PATH = "path"
|
||||
ATTR_IMAGE_USERNAME = "username"
|
||||
ATTR_IMAGE_PASSWORD = "password"
|
||||
ATTR_IMAGE_AUTH = "auth"
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
ATTR_ICON = "icon"
|
||||
# Attributes contained in icon
|
||||
ATTR_ICON_URL = "url"
|
||||
|
||||
@@ -8,6 +8,7 @@ DOMAIN = "nice_go"
|
||||
|
||||
# Configuration
|
||||
CONF_SITE_ID = "site_id"
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
CONF_DEVICE_ID = "device_id"
|
||||
CONF_REFRESH_TOKEN = "refresh_token"
|
||||
CONF_REFRESH_TOKEN_CREATION_TIME = "refresh_token_creation_time"
|
||||
|
||||
@@ -29,6 +29,7 @@ ATTR_SEVERITY: str = "severity"
|
||||
ATTR_RECOMMENDED_ACTIONS: str = "recommended_actions"
|
||||
ATTR_AFFECTED_AREAS: str = "affected_areas"
|
||||
ATTR_WEB: str = "web"
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
ATTR_ID: str = "id"
|
||||
ATTR_SENT: str = "sent"
|
||||
ATTR_START: str = "start"
|
||||
|
||||
@@ -13,6 +13,7 @@ CONF_STATION_FROM = "station_from"
|
||||
CONF_STATION_TO = "station_to"
|
||||
CONF_STATION_LIVE = "station_live"
|
||||
CONF_EXCLUDE_VIAS = "exclude_vias"
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
CONF_SHOW_ON_MAP = "show_on_map"
|
||||
|
||||
|
||||
|
||||
@@ -7,6 +7,7 @@ from rf_protocols import ModulationType
|
||||
DOMAIN: Final = "novy_cooker_hood"
|
||||
|
||||
CONF_TRANSMITTER: Final = "transmitter"
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
CONF_CODE: Final = "code"
|
||||
|
||||
CODE_MIN: Final = 1
|
||||
|
||||
@@ -26,6 +26,7 @@ ATTR_CALL = "call"
|
||||
ATTR_CLICK = "click"
|
||||
ATTR_DELAY = "delay"
|
||||
ATTR_EMAIL = "email"
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
ATTR_ICON = "icon"
|
||||
ATTR_MARKDOWN = "markdown"
|
||||
ATTR_PRIORITY = "priority"
|
||||
|
||||
@@ -28,6 +28,7 @@ DOMAIN = "numato"
|
||||
|
||||
CONF_INVERT_LOGIC = "invert_logic"
|
||||
CONF_DISCOVER = "discover"
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
CONF_DEVICES = "devices"
|
||||
CONF_DEVICE_ID = "id"
|
||||
CONF_PORTS = "ports"
|
||||
|
||||
@@ -4,7 +4,9 @@ DOMAIN = "ollama"
|
||||
|
||||
DEFAULT_NAME = "Ollama"
|
||||
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
CONF_MODEL = "model"
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
CONF_PROMPT = "prompt"
|
||||
CONF_THINK = "think"
|
||||
|
||||
|
||||
@@ -47,6 +47,7 @@ from .util import get_meaning
|
||||
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
CONF_DEVICE = "device"
|
||||
|
||||
INPUT_SOURCES_DEFAULT: list[InputSource] = []
|
||||
|
||||
@@ -20,6 +20,7 @@ CONF_IMAGE_MODEL = "image_model"
|
||||
CONF_CODE_INTERPRETER = "code_interpreter"
|
||||
CONF_FILENAMES = "filenames"
|
||||
CONF_MAX_TOKENS = "max_tokens"
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
CONF_PROMPT = "prompt"
|
||||
CONF_REASONING_EFFORT = "reasoning_effort"
|
||||
CONF_REASONING_SUMMARY = "reasoning_summary"
|
||||
|
||||
@@ -18,6 +18,7 @@ SCAN_INTERVAL = timedelta(hours=12)
|
||||
|
||||
CONF_ZIP = "zip"
|
||||
CONF_WASTE_TYPE = "waste_type"
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
CONF_NAME = "name"
|
||||
|
||||
PLATFORM_SCHEMA = SENSOR_PLATFORM_SCHEMA.extend(
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
"""Constants for the OpenEVSE integration."""
|
||||
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
CONF_ID = "id"
|
||||
CONF_SERIAL = "serial"
|
||||
DOMAIN = "openevse"
|
||||
|
||||
@@ -45,7 +45,9 @@ SERVICE_GET_PROFILE = "get_profile"
|
||||
SERVICE_SET_PROFILE = "set_profile"
|
||||
SERVICE_SET_V40MIN = "set_v40_min"
|
||||
SERVICE_TURN_AWAY_MODE_ON = "turn_away_mode_on"
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
SERVICE_TURN_OFF = "turn_off"
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
SERVICE_TURN_ON = "turn_on"
|
||||
|
||||
|
||||
|
||||
@@ -15,6 +15,7 @@ ATTR_REMOTE = "remote"
|
||||
|
||||
ATTR_DEVICE_INFO = "device_info"
|
||||
ATTR_FRIENDLY_NAME = "friendlyName"
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
ATTR_MANUFACTURER = "manufacturer"
|
||||
ATTR_MODEL_NUMBER = "modelNumber"
|
||||
ATTR_UDN = "UDN"
|
||||
|
||||
@@ -70,6 +70,7 @@ DEFAULT_SCAN_INTERVAL = timedelta(seconds=30)
|
||||
|
||||
DEFAULT_MAX_OBJECTS = 5
|
||||
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
CONF_ENABLED = "enabled"
|
||||
CONF_SECONDS = "seconds"
|
||||
CONF_MAX_OBJECTS = "max_objects"
|
||||
|
||||
@@ -7,6 +7,7 @@ CONF_AUTH_METHOD = "auth_method"
|
||||
CONF_REALM = "realm"
|
||||
CONF_NODE = "node"
|
||||
CONF_NODES = "nodes"
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
CONF_TOKEN = "token"
|
||||
CONF_TOKEN_ID = "token_id"
|
||||
CONF_TOKEN_SECRET = "token_value"
|
||||
|
||||
@@ -67,6 +67,7 @@ PLATFORMS = [
|
||||
Platform.UPDATE,
|
||||
]
|
||||
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
CONF_CONDITION = "condition"
|
||||
CONF_DEWPOINT = "dewpoint"
|
||||
CONF_ET = "et"
|
||||
|
||||
@@ -19,6 +19,7 @@ if TYPE_CHECKING:
|
||||
LOGGER = logging.getLogger(__name__)
|
||||
|
||||
ATTR_SCHEDULES = "schedules"
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
ATTR_TEMPERATURE = "temperature"
|
||||
ATTR_VEHICLE = "vehicle"
|
||||
ATTR_WHEN = "when"
|
||||
|
||||
@@ -13,6 +13,7 @@ CONF_USER_DATA = "user_data"
|
||||
CONF_SHOW_BACKGROUND = "show_background"
|
||||
CONF_SHOW_WALLS = "show_walls"
|
||||
CONF_SHOW_ROOMS = "show_rooms"
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
CONF_REGION = "region"
|
||||
REGION_OPTIONS = ["auto", "us", "eu", "ru", "cn"]
|
||||
|
||||
|
||||
@@ -4,6 +4,7 @@ DOMAIN = "select"
|
||||
|
||||
ATTR_CYCLE = "cycle"
|
||||
ATTR_OPTIONS = "options"
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
ATTR_OPTION = "option"
|
||||
|
||||
CONF_CYCLE = "cycle"
|
||||
@@ -12,5 +13,6 @@ CONF_OPTION = "option"
|
||||
SERVICE_SELECT_FIRST = "select_first"
|
||||
SERVICE_SELECT_LAST = "select_last"
|
||||
SERVICE_SELECT_NEXT = "select_next"
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
SERVICE_SELECT_OPTION = "select_option"
|
||||
SERVICE_SELECT_PREVIOUS = "select_previous"
|
||||
|
||||
@@ -10,9 +10,13 @@ DOMAIN: Final = "sftp_storage"
|
||||
|
||||
LOGGER = logging.getLogger(__package__)
|
||||
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
CONF_HOST: Final = "host"
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
CONF_PORT: Final = "port"
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
CONF_USERNAME: Final = "username"
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
CONF_PASSWORD: Final = "password"
|
||||
CONF_PRIVATE_KEY_FILE: Final = "private_key_file"
|
||||
CONF_BACKUP_LOCATION: Final = "backup_location"
|
||||
|
||||
@@ -30,6 +30,7 @@ from homeassistant.helpers.typing import ConfigType, DiscoveryInfoType
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
|
||||
ATTR_DEVICE = "device"
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
ATTR_MODEL = "model"
|
||||
|
||||
BLE_TEMP_HANDLE = 0x24
|
||||
|
||||
@@ -11,6 +11,7 @@ FIRMNESS = "firmness"
|
||||
ICON_EMPTY = "mdi:bed-empty"
|
||||
ICON_OCCUPIED = "mdi:bed"
|
||||
IS_IN_BED = "is_in_bed"
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
PRESSURE = "pressure"
|
||||
SLEEP_NUMBER = "sleep_number"
|
||||
FOOT_WARMING_TIMER = "foot_warming_timer"
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
API_LOCAL = "api_local"
|
||||
ATTR_TOUCHGO = "touchgo"
|
||||
CONF_INVERT_POSITION = "invert_position"
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
CONF_VERIFY_SSL = "verify_ssl"
|
||||
DOMAIN = "slide_local"
|
||||
SLIDES = "slides"
|
||||
|
||||
@@ -19,6 +19,7 @@ from .entity import SmartTubOnboardSensorBase
|
||||
# the desired duration, in hours, of the cycle
|
||||
ATTR_DURATION = "duration"
|
||||
ATTR_CYCLE_LAST_UPDATED = "cycle_last_updated"
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
ATTR_MODE = "mode"
|
||||
# the hour of the day at which to start the cycle (0-23)
|
||||
ATTR_START_HOUR = "start_hour"
|
||||
|
||||
@@ -9,6 +9,7 @@ ATTR_HTML: Final = "html"
|
||||
ATTR_SENDER_NAME: Final = "sender_name"
|
||||
|
||||
CONF_ENCRYPTION: Final = "encryption"
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
CONF_DEBUG: Final = "debug"
|
||||
CONF_SERVER: Final = "server"
|
||||
CONF_SENDER_NAME: Final = "sender_name"
|
||||
|
||||
@@ -51,6 +51,7 @@ ATTR_DAYS_OF_WEEK = "dow"
|
||||
ATTR_ENABLED = "enabled"
|
||||
ATTR_REPEAT = "repeat"
|
||||
ATTR_SCHEDULED_TODAY = "scheduled_today"
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
ATTR_TIME = "time"
|
||||
ATTR_VOLUME = "volume"
|
||||
ATTR_URL = "url"
|
||||
|
||||
@@ -38,9 +38,11 @@ PLATFORMS = [
|
||||
Platform.SENSOR,
|
||||
]
|
||||
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
SERVICE_LOCK = "lock"
|
||||
SERVICE_REMOTE_START = "remote_start"
|
||||
SERVICE_REMOTE_STOP = "remote_stop"
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
SERVICE_UNLOCK = "unlock"
|
||||
SERVICE_UNLOCK_SPECIFIC_DOOR = "unlock_specific_door"
|
||||
|
||||
|
||||
@@ -18,6 +18,7 @@ SURE_BATT_VOLTAGE_DIFF = SURE_BATT_VOLTAGE_FULL - SURE_BATT_VOLTAGE_LOW
|
||||
SERVICE_SET_LOCK_STATE = "set_lock_state"
|
||||
SERVICE_SET_PET_LOCATION = "set_pet_location"
|
||||
ATTR_FLAP_ID = "flap_id"
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
ATTR_LOCATION = "location"
|
||||
ATTR_LOCK_STATE = "lock_state"
|
||||
ATTR_PET_NAME = "pet_name"
|
||||
|
||||
@@ -87,6 +87,7 @@ ATTR_CALLBACK_QUERY_ID = "callback_query_id"
|
||||
ATTR_CAPTION = "caption"
|
||||
ATTR_CHAT_ID = "chat_id"
|
||||
ATTR_CHAT_INSTANCE = "chat_instance"
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
ATTR_DATE = "date"
|
||||
ATTR_DISABLE_NOTIF = "disable_notification"
|
||||
ATTR_DISABLE_WEB_PREV = "disable_web_page_preview"
|
||||
|
||||
@@ -57,6 +57,7 @@ _LOGGER = logging.getLogger(__name__)
|
||||
# Legacy
|
||||
ATTR_COLOR_TEMP = "color_temp"
|
||||
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
CONF_HS = "hs"
|
||||
CONF_HS_ACTION = "set_hs"
|
||||
CONF_RGB_ACTION = "set_rgb"
|
||||
|
||||
@@ -40,6 +40,7 @@ from .trigger_entity import TriggerEntity
|
||||
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
CONF_OPTIONS = "options"
|
||||
CONF_SELECT_OPTION = "select_option"
|
||||
|
||||
|
||||
@@ -95,6 +95,7 @@ CONF_ATTRIBUTION = "attribution"
|
||||
CONF_ATTRIBUTION_TEMPLATE = "attribution_template"
|
||||
CONF_CLOUD_COVERAGE = "cloud_coverage"
|
||||
CONF_CLOUD_COVERAGE_TEMPLATE = "cloud_coverage_template"
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
CONF_CONDITION = "condition"
|
||||
CONF_CONDITION_TEMPLATE = "condition_template"
|
||||
CONF_DEW_POINT = "dew_point"
|
||||
|
||||
@@ -7,6 +7,7 @@ from tesla_fleet_api.const import Scope
|
||||
|
||||
DOMAIN = "tesla_fleet"
|
||||
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
CONF_DOMAIN = "domain"
|
||||
CONF_REFRESH_TOKEN = "refresh_token"
|
||||
|
||||
|
||||
@@ -18,16 +18,19 @@ from .models import TeslemetryEnergyData, TeslemetryVehicleData
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
|
||||
# Attributes
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
ATTR_ID = "id"
|
||||
ATTR_GPS = "gps"
|
||||
ATTR_TYPE = "type"
|
||||
ATTR_VALUE = "value"
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
ATTR_LOCATION = "location"
|
||||
ATTR_LOCALE = "locale"
|
||||
ATTR_ORDER = "order"
|
||||
ATTR_TIMESTAMP = "timestamp"
|
||||
ATTR_FIELDS = "fields"
|
||||
ATTR_ENABLE = "enable"
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
ATTR_TIME = "time"
|
||||
ATTR_PIN = "pin"
|
||||
ATTR_TOU_SETTINGS = "tou_settings"
|
||||
@@ -41,6 +44,7 @@ ATTR_DAYS_OF_WEEK = "days_of_week"
|
||||
ATTR_START_TIME = "start_time"
|
||||
ATTR_END_TIME = "end_time"
|
||||
ATTR_ONE_TIME = "one_time"
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
ATTR_NAME = "name"
|
||||
ATTR_PRECONDITION_TIME = "precondition_time"
|
||||
|
||||
|
||||
@@ -4,6 +4,7 @@ DOMAIN = "text"
|
||||
|
||||
ATTR_MAX = "max"
|
||||
ATTR_MIN = "min"
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
ATTR_MODE = "mode"
|
||||
ATTR_PATTERN = "pattern"
|
||||
ATTR_VALUE = "value"
|
||||
|
||||
@@ -23,6 +23,7 @@ from .entity import TiltEntity
|
||||
# Coordinator is used to centralize the data updates
|
||||
PARALLEL_UPDATES = 0
|
||||
|
||||
# pylint: disable-next=home-assistant-duplicate-const
|
||||
ATTR_TEMPERATURE = "temperature"
|
||||
ATTR_GRAVITY = "gravity"
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user