Skip to content

[pull] dev from home-assistant:dev #635

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Apr 28, 2025
4 changes: 2 additions & 2 deletions .github/workflows/builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,7 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build Docker image
uses: docker/build-push-action@471d1dc4e07e5cdedd4c2171150001c434f0b7a4 # v6.15.0
uses: docker/build-push-action@14487ce63c7a62a4a324b0bfb37086795e31c6c1 # v6.16.0
with:
context: . # So action will not pull the repository again
file: ./script/hassfest/docker/Dockerfile
Expand All @@ -522,7 +522,7 @@ jobs:
- name: Push Docker image
if: needs.init.outputs.channel != 'dev' && needs.init.outputs.publish == 'true'
id: push
uses: docker/build-push-action@471d1dc4e07e5cdedd4c2171150001c434f0b7a4 # v6.15.0
uses: docker/build-push-action@14487ce63c7a62a4a324b0bfb37086795e31c6c1 # v6.16.0
with:
context: . # So action will not pull the repository again
file: ./script/hassfest/docker/Dockerfile
Expand Down
2 changes: 1 addition & 1 deletion homeassistant/components/bluetooth/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"bleak-retry-connector==3.9.0",
"bluetooth-adapters==0.21.4",
"bluetooth-auto-recovery==1.4.5",
"bluetooth-data-tools==1.28.0",
"bluetooth-data-tools==1.28.1",
"dbus-fast==2.43.0",
"habluetooth==3.44.0"
]
Expand Down
2 changes: 1 addition & 1 deletion homeassistant/components/lamarzocco/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,5 @@
"iot_class": "cloud_push",
"loggers": ["pylamarzocco"],
"quality_scale": "platinum",
"requirements": ["pylamarzocco==2.0.0b3"]
"requirements": ["pylamarzocco==2.0.0b6"]
}
2 changes: 1 addition & 1 deletion homeassistant/components/ld2410_ble/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/ld2410_ble",
"integration_type": "device",
"iot_class": "local_push",
"requirements": ["bluetooth-data-tools==1.28.0", "ld2410-ble==0.1.1"]
"requirements": ["bluetooth-data-tools==1.28.1", "ld2410-ble==0.1.1"]
}
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.28.0", "led-ble==1.1.7"]
"requirements": ["bluetooth-data-tools==1.28.1", "led-ble==1.1.7"]
}
2 changes: 1 addition & 1 deletion homeassistant/components/private_ble_device/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
"dependencies": ["bluetooth_adapters"],
"documentation": "https://www.home-assistant.io/integrations/private_ble_device",
"iot_class": "local_push",
"requirements": ["bluetooth-data-tools==1.28.0"]
"requirements": ["bluetooth-data-tools==1.28.1"]
}
13 changes: 3 additions & 10 deletions homeassistant/components/schlage/select.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

from __future__ import annotations

from pyschlage.lock import AUTO_LOCK_TIMES

from homeassistant.components.select import SelectEntity, SelectEntityDescription
from homeassistant.const import EntityCategory
from homeassistant.core import HomeAssistant
Expand All @@ -15,16 +17,7 @@
key="auto_lock_time",
translation_key="auto_lock_time",
entity_category=EntityCategory.CONFIG,
# valid values are from Schlage UI and validated by pyschlage
options=[
"0",
"15",
"30",
"60",
"120",
"240",
"300",
],
options=[str(n) for n in AUTO_LOCK_TIMES],
),
)

Expand Down
1 change: 1 addition & 0 deletions homeassistant/components/schlage/strings.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
"name": "Auto-lock time",
"state": {
"0": "[%key:common::state::disabled%]",
"5": "5 seconds",
"15": "15 seconds",
"30": "30 seconds",
"60": "1 minute",
Expand Down
2 changes: 1 addition & 1 deletion homeassistant/components/smartthings/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@
"iot_class": "cloud_push",
"loggers": ["pysmartthings"],
"quality_scale": "bronze",
"requirements": ["pysmartthings==3.0.5"]
"requirements": ["pysmartthings==3.2.0"]
}
4 changes: 3 additions & 1 deletion homeassistant/components/template/trigger_entity.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,9 @@ def available(self) -> bool:
@callback
def _render_script_variables(self) -> dict:
"""Render configured variables."""
return self.coordinator.data["run_variables"]
if self.coordinator.data is None:
return {}
return self.coordinator.data["run_variables"] or {}

def _render_templates(self, variables: dict[str, Any]) -> None:
"""Render templates."""
Expand Down
13 changes: 13 additions & 0 deletions homeassistant/components/teslemetry/binary_sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,21 @@ class TeslemetryBinarySensorEntityDescription(BinarySensorEntityDescription):
key="state",
polling=True,
polling_value_fn=lambda x: x == TeslemetryState.ONLINE,
streaming_listener=lambda x, y: x.listen_State(y),
device_class=BinarySensorDeviceClass.CONNECTIVITY,
),
TeslemetryBinarySensorEntityDescription(
key="cellular",
streaming_listener=lambda x, y: x.listen_Cellular(y),
device_class=BinarySensorDeviceClass.CONNECTIVITY,
entity_category=EntityCategory.DIAGNOSTIC,
),
TeslemetryBinarySensorEntityDescription(
key="wifi",
streaming_listener=lambda x, y: x.listen_Wifi(y),
device_class=BinarySensorDeviceClass.CONNECTIVITY,
entity_category=EntityCategory.DIAGNOSTIC,
),
TeslemetryBinarySensorEntityDescription(
key="charge_state_battery_heater_on",
polling=True,
Expand Down
18 changes: 18 additions & 0 deletions homeassistant/components/teslemetry/icons.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,24 @@
{
"entity": {
"binary_sensor": {
"state": {
"state": {
"off": "mdi:sleep",
"on": "mdi:car-connected"
}
},
"cellular": {
"state": {
"off": "mdi:signal-cellular-outline",
"on": "mdi:signal-cellular-3"
}
},
"wifi": {
"state": {
"off": "mdi:wifi-off",
"on": "mdi:wifi"
}
},
"climate_state_is_preconditioning": {
"state": {
"off": "mdi:hvac-off",
Expand Down
6 changes: 6 additions & 0 deletions homeassistant/components/teslemetry/strings.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,12 @@
"state": {
"name": "Status"
},
"cellular": {
"name": "Cellular"
},
"wifi": {
"name": "Wi-Fi"
},
"storm_mode_active": {
"name": "Storm watch active"
},
Expand Down
2 changes: 1 addition & 1 deletion homeassistant/package_constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ bleak-retry-connector==3.9.0
bleak==0.22.3
bluetooth-adapters==0.21.4
bluetooth-auto-recovery==1.4.5
bluetooth-data-tools==1.28.0
bluetooth-data-tools==1.28.1
cached-ipaddress==0.10.0
certifi>=2021.5.30
ciso8601==2.3.2
Expand Down
6 changes: 3 additions & 3 deletions requirements_all.txt

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions requirements_test_all.txt

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading