Skip to content

Commit

Permalink
2024.12.3 (#133123)
Browse files Browse the repository at this point in the history
  • Loading branch information
frenck authored Dec 13, 2024
2 parents 3fe2c14 + 9b83a00 commit 46db396
Show file tree
Hide file tree
Showing 24 changed files with 240 additions and 48 deletions.
19 changes: 10 additions & 9 deletions homeassistant/components/androidtv/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,15 +135,16 @@ async def async_connect_androidtv(
)

aftv = await async_androidtv_setup(
config[CONF_HOST],
config[CONF_PORT],
adbkey,
config.get(CONF_ADB_SERVER_IP),
config.get(CONF_ADB_SERVER_PORT, DEFAULT_ADB_SERVER_PORT),
state_detection_rules,
config[CONF_DEVICE_CLASS],
timeout,
signer,
host=config[CONF_HOST],
port=config[CONF_PORT],
adbkey=adbkey,
adb_server_ip=config.get(CONF_ADB_SERVER_IP),
adb_server_port=config.get(CONF_ADB_SERVER_PORT, DEFAULT_ADB_SERVER_PORT),
state_detection_rules=state_detection_rules,
device_class=config[CONF_DEVICE_CLASS],
auth_timeout_s=timeout,
signer=signer,
log_errors=False,
)

if not aftv.available:
Expand Down
2 changes: 1 addition & 1 deletion homeassistant/components/aosmith/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
"config_flow": true,
"documentation": "https://www.home-assistant.io/integrations/aosmith",
"iot_class": "cloud_polling",
"requirements": ["py-aosmith==1.0.11"]
"requirements": ["py-aosmith==1.0.12"]
}
12 changes: 10 additions & 2 deletions homeassistant/components/assist_pipeline/pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
from homeassistant.components.tts import (
generate_media_source_id as tts_generate_media_source_id,
)
from homeassistant.const import MATCH_ALL
from homeassistant.core import Context, HomeAssistant, callback
from homeassistant.exceptions import HomeAssistantError
from homeassistant.helpers import intent
Expand Down Expand Up @@ -1009,12 +1010,19 @@ async def recognize_intent(
if self.intent_agent is None:
raise RuntimeError("Recognize intent was not prepared")

if self.pipeline.conversation_language == MATCH_ALL:
# LLMs support all languages ('*') so use pipeline language for
# intent fallback.
input_language = self.pipeline.language
else:
input_language = self.pipeline.conversation_language

self.process_event(
PipelineEvent(
PipelineEventType.INTENT_START,
{
"engine": self.intent_agent,
"language": self.pipeline.conversation_language,
"language": input_language,
"intent_input": intent_input,
"conversation_id": conversation_id,
"device_id": device_id,
Expand All @@ -1029,7 +1037,7 @@ async def recognize_intent(
context=self.context,
conversation_id=conversation_id,
device_id=device_id,
language=self.pipeline.language,
language=input_language,
agent_id=self.intent_agent,
)
processed_locally = self.intent_agent == conversation.HOME_ASSISTANT_AGENT
Expand Down
2 changes: 1 addition & 1 deletion homeassistant/components/assist_pipeline/vad.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ def process(self, chunk_seconds: float, speech_probability: float | None) -> boo

self._timeout_seconds_left -= chunk_seconds
if self._timeout_seconds_left <= 0:
_LOGGER.warning(
_LOGGER.debug(
"VAD end of speech detection timed out after %s seconds",
self.timeout_seconds,
)
Expand Down
2 changes: 1 addition & 1 deletion homeassistant/components/daikin/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
"documentation": "https://www.home-assistant.io/integrations/daikin",
"iot_class": "local_polling",
"loggers": ["pydaikin"],
"requirements": ["pydaikin==2.13.7"],
"requirements": ["pydaikin==2.13.8"],
"zeroconf": ["_dkapi._tcp.local."]
}
2 changes: 1 addition & 1 deletion homeassistant/components/ecovacs/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
"documentation": "https://www.home-assistant.io/integrations/ecovacs",
"iot_class": "cloud_push",
"loggers": ["sleekxmppfs", "sucks", "deebot_client"],
"requirements": ["py-sucks==0.9.10", "deebot-client==9.3.0"]
"requirements": ["py-sucks==0.9.10", "deebot-client==9.4.0"]
}
2 changes: 1 addition & 1 deletion homeassistant/components/evohome/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
"iot_class": "cloud_polling",
"loggers": ["evohomeasync", "evohomeasync2"],
"quality_scale": "legacy",
"requirements": ["evohome-async==0.4.20"]
"requirements": ["evohome-async==0.4.21"]
}
2 changes: 1 addition & 1 deletion homeassistant/components/frontend/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@
"documentation": "https://www.home-assistant.io/integrations/frontend",
"integration_type": "system",
"quality_scale": "internal",
"requirements": ["home-assistant-frontend==20241127.7"]
"requirements": ["home-assistant-frontend==20241127.8"]
}
5 changes: 4 additions & 1 deletion homeassistant/components/lametric/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,10 @@ async def _async_step_create_entry(
device = await lametric.device()

if self.source != SOURCE_REAUTH:
await self.async_set_unique_id(device.serial_number)
await self.async_set_unique_id(
device.serial_number,
raise_on_progress=False,
)
self._abort_if_unique_id_configured(
updates={CONF_HOST: lametric.host, CONF_API_KEY: lametric.api_key}
)
Expand Down
5 changes: 4 additions & 1 deletion homeassistant/components/lametric/strings.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,11 @@
"api_key": "You can find this API key in [devices page in your LaMetric developer account](https://developer.lametric.com/user/devices)."
}
},
"user_cloud_select_device": {
"cloud_select_device": {
"data": {
"device": "Device"
},
"data_description": {
"device": "Select the LaMetric device to add"
}
}
Expand Down
2 changes: 1 addition & 1 deletion homeassistant/components/led_ble/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,5 @@
"dependencies": ["bluetooth_adapters"],
"documentation": "https://www.home-assistant.io/integrations/led_ble",
"iot_class": "local_polling",
"requirements": ["bluetooth-data-tools==1.20.0", "led-ble==1.0.2"]
"requirements": ["bluetooth-data-tools==1.20.0", "led-ble==1.1.1"]
}
2 changes: 1 addition & 1 deletion homeassistant/components/linkplay/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
"integration_type": "hub",
"iot_class": "local_polling",
"loggers": ["linkplay"],
"requirements": ["python-linkplay==0.0.20"],
"requirements": ["python-linkplay==0.1.1"],
"zeroconf": ["_linkplay._tcp.local."]
}
2 changes: 1 addition & 1 deletion homeassistant/components/suez_water/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
"documentation": "https://www.home-assistant.io/integrations/suez_water",
"iot_class": "cloud_polling",
"loggers": ["pysuez", "regex"],
"requirements": ["pysuezV2==1.3.2"]
"requirements": ["pysuezV2==1.3.5"]
}
2 changes: 2 additions & 0 deletions homeassistant/components/vodafone_station/coordinator.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

from dataclasses import dataclass
from datetime import datetime, timedelta
from json.decoder import JSONDecodeError
from typing import Any

from aiovodafone import VodafoneStationDevice, VodafoneStationSercommApi, exceptions
Expand Down Expand Up @@ -107,6 +108,7 @@ async def _async_update_data(self) -> UpdateCoordinatorDataType:
exceptions.CannotConnect,
exceptions.AlreadyLogged,
exceptions.GenericLoginError,
JSONDecodeError,
) as err:
raise UpdateFailed(f"Error fetching data: {err!r}") from err
except (ConfigEntryAuthFailed, UpdateFailed):
Expand Down
2 changes: 1 addition & 1 deletion homeassistant/components/withings/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@
"documentation": "https://www.home-assistant.io/integrations/withings",
"iot_class": "cloud_push",
"loggers": ["aiowithings"],
"requirements": ["aiowithings==3.1.3"]
"requirements": ["aiowithings==3.1.4"]
}
2 changes: 1 addition & 1 deletion homeassistant/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
APPLICATION_NAME: Final = "HomeAssistant"
MAJOR_VERSION: Final = 2024
MINOR_VERSION: Final = 12
PATCH_VERSION: Final = "2"
PATCH_VERSION: Final = "3"
__short_version__: Final = f"{MAJOR_VERSION}.{MINOR_VERSION}"
__version__: Final = f"{__short_version__}.{PATCH_VERSION}"
REQUIRED_PYTHON_VER: Final[tuple[int, int, int]] = (3, 12, 0)
Expand Down
2 changes: 1 addition & 1 deletion homeassistant/package_constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ habluetooth==3.6.0
hass-nabucasa==0.86.0
hassil==2.0.5
home-assistant-bluetooth==1.13.0
home-assistant-frontend==20241127.7
home-assistant-frontend==20241127.8
home-assistant-intents==2024.12.9
httpx==0.27.2
ifaddr==0.2.0
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "homeassistant"
version = "2024.12.2"
version = "2024.12.3"
license = {text = "Apache-2.0"}
description = "Open-source home automation platform running on Python 3."
readme = "README.rst"
Expand Down
18 changes: 9 additions & 9 deletions requirements_all.txt
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ aiowatttime==0.1.1
aiowebostv==0.4.2

# homeassistant.components.withings
aiowithings==3.1.3
aiowithings==3.1.4

# homeassistant.components.yandex_transport
aioymaps==1.2.5
Expand Down Expand Up @@ -738,7 +738,7 @@ debugpy==1.8.8
# decora==0.6

# homeassistant.components.ecovacs
deebot-client==9.3.0
deebot-client==9.4.0

# homeassistant.components.ihc
# homeassistant.components.namecheapdns
Expand Down Expand Up @@ -878,7 +878,7 @@ eufylife-ble-client==0.1.8
# evdev==1.6.1

# homeassistant.components.evohome
evohome-async==0.4.20
evohome-async==0.4.21

# homeassistant.components.bryant_evolution
evolutionhttp==0.0.18
Expand Down Expand Up @@ -1130,7 +1130,7 @@ hole==0.8.0
holidays==0.62

# homeassistant.components.frontend
home-assistant-frontend==20241127.7
home-assistant-frontend==20241127.8

# homeassistant.components.conversation
home-assistant-intents==2024.12.9
Expand Down Expand Up @@ -1280,7 +1280,7 @@ ld2410-ble==0.1.1
leaone-ble==0.1.0

# homeassistant.components.led_ble
led-ble==1.0.2
led-ble==1.1.1

# homeassistant.components.lektrico
lektricowifi==0.0.43
Expand Down Expand Up @@ -1672,7 +1672,7 @@ pushover_complete==1.1.1
pvo==2.1.1

# homeassistant.components.aosmith
py-aosmith==1.0.11
py-aosmith==1.0.12

# homeassistant.components.canary
py-canary==0.5.4
Expand Down Expand Up @@ -1835,7 +1835,7 @@ pycsspeechtts==1.0.8
# pycups==2.0.4

# homeassistant.components.daikin
pydaikin==2.13.7
pydaikin==2.13.8

# homeassistant.components.danfoss_air
pydanfossair==0.1.0
Expand Down Expand Up @@ -2293,7 +2293,7 @@ pysqueezebox==0.10.0
pystiebeleltron==0.0.1.dev2

# homeassistant.components.suez_water
pysuezV2==1.3.2
pysuezV2==1.3.5

# homeassistant.components.switchbee
pyswitchbee==1.8.3
Expand Down Expand Up @@ -2365,7 +2365,7 @@ python-juicenet==1.1.0
python-kasa[speedups]==0.8.1

# homeassistant.components.linkplay
python-linkplay==0.0.20
python-linkplay==0.1.1

# homeassistant.components.lirc
# python-lirc==1.2.3
Expand Down
18 changes: 9 additions & 9 deletions requirements_test_all.txt
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ aiowatttime==0.1.1
aiowebostv==0.4.2

# homeassistant.components.withings
aiowithings==3.1.3
aiowithings==3.1.4

# homeassistant.components.yandex_transport
aioymaps==1.2.5
Expand Down Expand Up @@ -628,7 +628,7 @@ dbus-fast==2.24.3
debugpy==1.8.8

# homeassistant.components.ecovacs
deebot-client==9.3.0
deebot-client==9.4.0

# homeassistant.components.ihc
# homeassistant.components.namecheapdns
Expand Down Expand Up @@ -744,7 +744,7 @@ eternalegypt==0.0.16
eufylife-ble-client==0.1.8

# homeassistant.components.evohome
evohome-async==0.4.20
evohome-async==0.4.21

# homeassistant.components.bryant_evolution
evolutionhttp==0.0.18
Expand Down Expand Up @@ -956,7 +956,7 @@ hole==0.8.0
holidays==0.62

# homeassistant.components.frontend
home-assistant-frontend==20241127.7
home-assistant-frontend==20241127.8

# homeassistant.components.conversation
home-assistant-intents==2024.12.9
Expand Down Expand Up @@ -1076,7 +1076,7 @@ ld2410-ble==0.1.1
leaone-ble==0.1.0

# homeassistant.components.led_ble
led-ble==1.0.2
led-ble==1.1.1

# homeassistant.components.lektrico
lektricowifi==0.0.43
Expand Down Expand Up @@ -1367,7 +1367,7 @@ pushover_complete==1.1.1
pvo==2.1.1

# homeassistant.components.aosmith
py-aosmith==1.0.11
py-aosmith==1.0.12

# homeassistant.components.canary
py-canary==0.5.4
Expand Down Expand Up @@ -1485,7 +1485,7 @@ pycountry==24.6.1
pycsspeechtts==1.0.8

# homeassistant.components.daikin
pydaikin==2.13.7
pydaikin==2.13.8

# homeassistant.components.deako
pydeako==0.6.0
Expand Down Expand Up @@ -1850,7 +1850,7 @@ pyspeex-noise==1.0.2
pysqueezebox==0.10.0

# homeassistant.components.suez_water
pysuezV2==1.3.2
pysuezV2==1.3.5

# homeassistant.components.switchbee
pyswitchbee==1.8.3
Expand Down Expand Up @@ -1892,7 +1892,7 @@ python-juicenet==1.1.0
python-kasa[speedups]==0.8.1

# homeassistant.components.linkplay
python-linkplay==0.0.20
python-linkplay==0.1.1

# homeassistant.components.matter
python-matter-server==6.6.0
Expand Down
Loading

0 comments on commit 46db396

Please sign in to comment.