Skip to content

Commit 1f59b73

Browse files
authored
2 parents 5d6b02f + 87af9fc commit 1f59b73

File tree

80 files changed

+1563
-344
lines changed

Some content is hidden

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

80 files changed

+1563
-344
lines changed

homeassistant/components/alexa/entities.py

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -505,8 +505,13 @@ def interfaces(self) -> Generator[AlexaCapability]:
505505
):
506506
yield AlexaThermostatController(self.hass, self.entity)
507507
yield AlexaTemperatureSensor(self.hass, self.entity)
508-
if self.entity.domain == water_heater.DOMAIN and (
509-
supported_features & water_heater.WaterHeaterEntityFeature.OPERATION_MODE
508+
if (
509+
self.entity.domain == water_heater.DOMAIN
510+
and (
511+
supported_features
512+
& water_heater.WaterHeaterEntityFeature.OPERATION_MODE
513+
)
514+
and self.entity.attributes.get(water_heater.ATTR_OPERATION_LIST)
510515
):
511516
yield AlexaModeController(
512517
self.entity,
@@ -634,7 +639,9 @@ def interfaces(self) -> Generator[AlexaCapability]:
634639
self.entity, instance=f"{fan.DOMAIN}.{fan.ATTR_OSCILLATING}"
635640
)
636641
force_range_controller = False
637-
if supported & fan.FanEntityFeature.PRESET_MODE:
642+
if supported & fan.FanEntityFeature.PRESET_MODE and self.entity.attributes.get(
643+
fan.ATTR_PRESET_MODES
644+
):
638645
yield AlexaModeController(
639646
self.entity, instance=f"{fan.DOMAIN}.{fan.ATTR_PRESET_MODE}"
640647
)
@@ -672,7 +679,11 @@ def interfaces(self) -> Generator[AlexaCapability]:
672679
yield AlexaPowerController(self.entity)
673680
supported = self.entity.attributes.get(ATTR_SUPPORTED_FEATURES, 0)
674681
activities = self.entity.attributes.get(remote.ATTR_ACTIVITY_LIST) or []
675-
if activities and supported & remote.RemoteEntityFeature.ACTIVITY:
682+
if (
683+
activities
684+
and (supported & remote.RemoteEntityFeature.ACTIVITY)
685+
and self.entity.attributes.get(remote.ATTR_ACTIVITY_LIST)
686+
):
676687
yield AlexaModeController(
677688
self.entity, instance=f"{remote.DOMAIN}.{remote.ATTR_ACTIVITY}"
678689
)
@@ -692,7 +703,9 @@ def interfaces(self) -> Generator[AlexaCapability]:
692703
"""Yield the supported interfaces."""
693704
yield AlexaPowerController(self.entity)
694705
supported = self.entity.attributes.get(ATTR_SUPPORTED_FEATURES, 0)
695-
if supported & humidifier.HumidifierEntityFeature.MODES:
706+
if (
707+
supported & humidifier.HumidifierEntityFeature.MODES
708+
) and self.entity.attributes.get(humidifier.ATTR_AVAILABLE_MODES):
696709
yield AlexaModeController(
697710
self.entity, instance=f"{humidifier.DOMAIN}.{humidifier.ATTR_MODE}"
698711
)

homeassistant/components/alexa_devices/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@
88
"iot_class": "cloud_polling",
99
"loggers": ["aioamazondevices"],
1010
"quality_scale": "bronze",
11-
"requirements": ["aioamazondevices==3.2.3"]
11+
"requirements": ["aioamazondevices==3.2.10"]
1212
}

homeassistant/components/cloud/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@
1313
"integration_type": "system",
1414
"iot_class": "cloud_push",
1515
"loggers": ["acme", "hass_nabucasa", "snitun"],
16-
"requirements": ["hass-nabucasa==0.105.0"],
16+
"requirements": ["hass-nabucasa==0.106.0"],
1717
"single_config_entry": true
1818
}

homeassistant/components/enphase_envoy/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"iot_class": "local_polling",
88
"loggers": ["pyenphase"],
99
"quality_scale": "platinum",
10-
"requirements": ["pyenphase==2.2.0"],
10+
"requirements": ["pyenphase==2.2.1"],
1111
"zeroconf": [
1212
{
1313
"type": "_enphase-envoy._tcp.local."

homeassistant/components/fritzbox/coordinator.py

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -171,14 +171,19 @@ async def _async_update_data(self) -> FritzboxCoordinatorData:
171171

172172
for device in new_data.devices.values():
173173
# create device registry entry for new main devices
174-
if (
175-
device.ain not in self.data.devices
176-
and device.device_and_unit_id[1] is None
174+
if device.ain not in self.data.devices and (
175+
device.device_and_unit_id[1] is None
176+
or (
177+
# workaround for sub units without a main device, e.g. Energy 250
178+
# https://github.com/home-assistant/core/issues/145204
179+
device.device_and_unit_id[1] == "1"
180+
and device.device_and_unit_id[0] not in new_data.devices
181+
)
177182
):
178183
dr.async_get(self.hass).async_get_or_create(
179184
config_entry_id=self.config_entry.entry_id,
180185
name=device.name,
181-
identifiers={(DOMAIN, device.ain)},
186+
identifiers={(DOMAIN, device.device_and_unit_id[0])},
182187
manufacturer=device.manufacturer,
183188
model=device.productname,
184189
sw_version=device.fw_version,

homeassistant/components/frontend/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@
2020
"documentation": "https://www.home-assistant.io/integrations/frontend",
2121
"integration_type": "system",
2222
"quality_scale": "internal",
23-
"requirements": ["home-assistant-frontend==20250702.1"]
23+
"requirements": ["home-assistant-frontend==20250702.2"]
2424
}

homeassistant/components/gios/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@
77
"integration_type": "service",
88
"iot_class": "cloud_polling",
99
"loggers": ["dacite", "gios"],
10-
"requirements": ["gios==6.0.0"]
10+
"requirements": ["gios==6.1.0"]
1111
}

homeassistant/components/google_cloud/stt.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ async def request_generator() -> AsyncGenerator[
127127
try:
128128
responses = await self._client.streaming_recognize(
129129
requests=request_generator(),
130-
timeout=10,
130+
timeout=30,
131131
retry=AsyncRetry(initial=0.1, maximum=2.0, multiplier=2.0),
132132
)
133133

homeassistant/components/google_cloud/tts.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ async def _async_get_tts_audio(
218218

219219
response = await self._client.synthesize_speech(
220220
request,
221-
timeout=10,
221+
timeout=30,
222222
retry=AsyncRetry(initial=0.1, maximum=2.0, multiplier=2.0),
223223
)
224224

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
11
"""The hddtemp component."""
2-
3-
DOMAIN = "hddtemp"

0 commit comments

Comments
 (0)