Skip to content

Commit 6952d24

Browse files
authored
2024.10.2 (#128176)
2 parents 2182bc3 + 9176994 commit 6952d24

File tree

121 files changed

+910
-440
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

121 files changed

+910
-440
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ on:
3737
type: boolean
3838

3939
env:
40-
CACHE_VERSION: 10
40+
CACHE_VERSION: 11
4141
UV_CACHE_VERSION: 1
4242
MYPY_CACHE_VERSION: 9
4343
HA_SHORT_VERSION: "2024.10"

homeassistant/components/airgradient/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66
"documentation": "https://www.home-assistant.io/integrations/airgradient",
77
"integration_type": "device",
88
"iot_class": "local_polling",
9-
"requirements": ["airgradient==0.9.0"],
9+
"requirements": ["airgradient==0.9.1"],
1010
"zeroconf": ["_airgradient._tcp.local."]
1111
}

homeassistant/components/airzone_cloud/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@
66
"documentation": "https://www.home-assistant.io/integrations/airzone_cloud",
77
"iot_class": "cloud_push",
88
"loggers": ["aioairzone_cloud"],
9-
"requirements": ["aioairzone-cloud==0.6.5"]
9+
"requirements": ["aioairzone-cloud==0.6.6"]
1010
}

homeassistant/components/alarmdecoder/strings.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@
2222
}
2323
},
2424
"error": {
25-
"cannot_connect": "[%key:common::config_flow::error::cannot_connect%]"
25+
"cannot_connect": "[%key:common::config_flow::error::cannot_connect%]",
26+
"unknown": "[%key:common::config_flow::error::unknown%]"
2627
},
2728
"create_entry": {
2829
"default": "Successfully connected to AlarmDecoder."
@@ -37,7 +38,7 @@
3738
"title": "Configure AlarmDecoder",
3839
"description": "What would you like to edit?",
3940
"data": {
40-
"edit_select": "Edit"
41+
"edit_selection": "Edit"
4142
}
4243
},
4344
"arm_settings": {

homeassistant/components/amberelectric/strings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
},
1111
"site": {
1212
"data": {
13-
"site_nmi": "Site NMI",
13+
"site_id": "Site NMI",
1414
"site_name": "Site Name"
1515
},
1616
"description": "Select the NMI of the site you would like to add"

homeassistant/components/analytics_insights/strings.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"unknown": "[%key:common::config_flow::error::unknown%]"
1818
},
1919
"error": {
20-
"no_integration_selected": "You must select at least one integration to track"
20+
"no_integrations_selected": "You must select at least one integration to track"
2121
}
2222
},
2323
"options": {
@@ -37,7 +37,7 @@
3737
"cannot_connect": "[%key:common::config_flow::error::cannot_connect%]"
3838
},
3939
"error": {
40-
"no_integration_selected": "[%key:component::analytics_insights::config::error::no_integration_selected%]"
40+
"no_integrations_selected": "[%key:component::analytics_insights::config::error::no_integrations_selected%]"
4141
}
4242
},
4343
"entity": {

homeassistant/components/aurora/__init__.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
from homeassistant.const import Platform
55
from homeassistant.core import HomeAssistant
66

7+
from .const import CONF_THRESHOLD, DEFAULT_THRESHOLD
78
from .coordinator import AuroraDataUpdateCoordinator
89

910
PLATFORMS = [Platform.BINARY_SENSOR, Platform.SENSOR]
@@ -21,9 +22,19 @@ async def async_setup_entry(hass: HomeAssistant, entry: AuroraConfigEntry) -> bo
2122

2223
await hass.config_entries.async_forward_entry_setups(entry, PLATFORMS)
2324

25+
entry.async_on_unload(entry.add_update_listener(update_listener))
2426
return True
2527

2628

29+
async def update_listener(hass: HomeAssistant, entry: AuroraConfigEntry) -> None:
30+
"""Handle options update."""
31+
entry.runtime_data.threshold = int(
32+
entry.options.get(CONF_THRESHOLD, DEFAULT_THRESHOLD)
33+
)
34+
# refresh the state of the visibility alert binary sensor
35+
await entry.runtime_data.async_request_refresh()
36+
37+
2738
async def async_unload_entry(hass: HomeAssistant, entry: AuroraConfigEntry) -> bool:
2839
"""Unload a config entry."""
2940
return await hass.config_entries.async_unload_platforms(entry, PLATFORMS)

homeassistant/components/aurora/coordinator.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ def __init__(self, hass: HomeAssistant) -> None:
3838
)
3939

4040
self.api = AuroraForecast(async_get_clientsession(hass))
41-
self.latitude = int(self.config_entry.data[CONF_LATITUDE])
42-
self.longitude = int(self.config_entry.data[CONF_LONGITUDE])
41+
self.latitude = round(self.config_entry.data[CONF_LATITUDE])
42+
self.longitude = round(self.config_entry.data[CONF_LONGITUDE])
4343
self.threshold = int(
4444
self.config_entry.options.get(CONF_THRESHOLD, DEFAULT_THRESHOLD)
4545
)

homeassistant/components/aurora/strings.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,15 @@
1414
"already_configured": "[%key:common::config_flow::abort::already_configured_service%]"
1515
},
1616
"error": {
17-
"cannot_connect": "[%key:common::config_flow::error::cannot_connect%]"
17+
"cannot_connect": "[%key:common::config_flow::error::cannot_connect%]",
18+
"unknown": "[%key:common::config_flow::error::unknown%]"
1819
}
1920
},
2021
"options": {
2122
"step": {
2223
"init": {
2324
"data": {
24-
"threshold": "Threshold (%)"
25+
"forecast_threshold": "Threshold (%)"
2526
}
2627
}
2728
}

homeassistant/components/azure_event_hub/strings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
},
3939
"options": {
4040
"step": {
41-
"options": {
41+
"init": {
4242
"title": "Options for the Azure Event Hub.",
4343
"data": {
4444
"send_interval": "Interval between sending batches to the hub."

0 commit comments

Comments
 (0)