Initil after Upgrade

This commit is contained in:
2026-06-15 10:53:52 -04:00
parent 2fe9bf0dd6
commit 887feaa50a
143 changed files with 2288 additions and 881 deletions
+2 -2
View File
@@ -20,7 +20,7 @@ async def async_get_config_entry_diagnostics(
data: dict = {
"entry": entry.as_dict(),
"config_entry_count_per_type": await get_count_by_sensor_type(hass),
"config_entry_count_per_type": get_count_by_sensor_type(hass),
"yaml_config": await get_yaml_configuration(hass),
}
@@ -31,7 +31,7 @@ async def async_get_config_entry_diagnostics(
return data
async def get_count_by_sensor_type(hass: HomeAssistant) -> dict[SensorType, int]:
def get_count_by_sensor_type(hass: HomeAssistant) -> dict[SensorType, int]:
count_per_type = {}
entries = get_entries_excluding_global_config(hass)
for e in entries: