456 files

This commit is contained in:
Home Assistant Version Control
2026-10-01 05:38:21 +00:00
parent 4192ecbaae
commit 5d6d845ebf
456 changed files with 64951 additions and 3828 deletions
@@ -28,6 +28,7 @@ from ..const import (
from ..helpers.aggregate import get_object_entries, get_runtime_data, get_store, is_object_entry, object_name, task_entity_id
from ..helpers.aggregate import object_slug as aggregate_object_slug
from ..helpers.phases import current_phase_summary
from ..helpers.ws_errors import send_translated_error
_LOGGER = logging.getLogger(__name__)
@@ -608,7 +609,7 @@ def _parse_iso_date(
from homeassistant.util import dt as dt_util
if parsed > dt_util.now().date():
connection.send_error(msg_id, "invalid_date", f"{field} must not be in the future")
send_translated_error(connection, msg_id, "invalid_date", f"{field} must not be in the future", translation_key="date_in_future")
return None
return parsed
@@ -748,6 +749,8 @@ def async_register_commands(hass: HomeAssistant) -> None:
ws_adopt_integration_setups,
ws_discover_integration_setups,
ws_preview_integration_setup,
ws_reset_offers,
ws_wire_resets,
)
from .io import (
ws_batch_generate_qr,
@@ -887,6 +890,8 @@ def async_register_commands(hass: HomeAssistant) -> None:
websocket_api.async_register_command(hass, ws_battery_fleet_set_due_without_sensor)
websocket_api.async_register_command(hass, ws_discover_integration_setups)
websocket_api.async_register_command(hass, ws_preview_integration_setup)
websocket_api.async_register_command(hass, ws_reset_offers)
websocket_api.async_register_command(hass, ws_wire_resets)
websocket_api.async_register_command(hass, ws_adopt_integration_setups)
websocket_api.async_register_command(hass, ws_list_saved_views)
websocket_api.async_register_command(hass, ws_save_saved_view)