217 files

This commit is contained in:
Home Assistant Version Control
2026-07-30 23:59:38 +00:00
parent d43a63ad29
commit 7b5e46e702
217 changed files with 15978 additions and 3912 deletions
+4 -2
View File
@@ -12,13 +12,15 @@ from homeassistant.helpers.dispatcher import async_dispatcher_connect
from homeassistant.helpers.entity_platform import AddEntitiesCallback
from homeassistant.helpers.typing import ConfigType, DiscoveryInfoType
from custom_components.powercalc import DOMAIN
from custom_components.powercalc.analytics.analytics import collect_analytics
from custom_components.powercalc.const import DATA_ENTITY_TYPES, EntityType
from custom_components.powercalc.const import DATA_ENTITY_TYPES, DOMAIN, EntityType
SIGNAL_CREATE_SELECT_ENTITIES = "powercalc_create_select_entities_{}"
DATA_PENDING_SELECT_ENTITIES = "powercalc_pending_select_entities"
# The tariff select doesn't poll, so updates don't have to be serialized.
PARALLEL_UPDATES = 0
def _key(entry: ConfigEntry | None) -> str:
return entry.entry_id if entry else ""