diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index 7b3b560fbf1590..8991307a9233f6 100644 --- a/.github/copilot-instructions.md +++ b/.github/copilot-instructions.md @@ -8,7 +8,7 @@ - Do not comment on code style, formatting or linting issues. - Flag comments that over-explain straightforward code, narrate the obvious, or read like AI commentary (multi-sentence justifications for a single line). - A Pull Request with a dependency version bump should only contain changes required for the version bump. If the PR includes other changes, request that they are removed from the PR. -- Check that the PR description is complete and filled in according to the PR template included below. Every section and checklist item from the template must be present, except the `## Breaking change` section which is optional. No content from the template should be missing, except for HTML comments. Even unchecked checkboxes or empty sections must be present. This is a hard requirement. +- Check that the PR description is complete and filled in according to the PR template included below. Every section and checklist item from the template must be present, except the `## Breaking change` section which is optional. No content from the template should be missing, except for HTML comments and Markdown link reference definitions (lines of the form `[name]: url`), which do not render and cannot be verified from the description. Even unchecked checkboxes or empty sections must be present. This is a hard requirement. ## Pull Request template diff --git a/homeassistant/components/backup/strings.json b/homeassistant/components/backup/strings.json index a6da8a900177e5..bf8a8bce3e1791 100644 --- a/homeassistant/components/backup/strings.json +++ b/homeassistant/components/backup/strings.json @@ -35,6 +35,7 @@ "backup_manager_state": { "name": "Backup Manager state", "state": { + "blocked": "Blocked", "create_backup": "Creating a backup", "idle": "[%key:common::state::idle%]", "receive_backup": "Receiving a backup", diff --git a/homeassistant/components/http/config.py b/homeassistant/components/http/config.py index fe7ae5ac3ba19b..3d704bdbdbb2b5 100644 --- a/homeassistant/components/http/config.py +++ b/homeassistant/components/http/config.py @@ -223,6 +223,7 @@ async def async_load_config(hass: HomeAssistant, config: ConfigType) -> ConfData hass, DOMAIN, "yaml_still_present_after_migration", + breaks_in_ha_version="2027.2.0", is_fixable=False, severity=ir.IssueSeverity.WARNING, translation_key="yaml_still_present_after_migration", @@ -248,6 +249,7 @@ async def async_load_config(hass: HomeAssistant, config: ConfigType) -> ConfData hass, DOMAIN, "deprecated_yaml_import_error", + breaks_in_ha_version="2027.2.0", is_fixable=False, severity=ir.IssueSeverity.ERROR, translation_key="deprecated_yaml_import_error", @@ -259,7 +261,7 @@ async def async_load_config(hass: HomeAssistant, config: ConfigType) -> ConfData hass, DOMAIN, "deprecated_yaml", - breaks_in_ha_version="2027.6.0", + breaks_in_ha_version="2027.2.0", is_fixable=False, severity=ir.IssueSeverity.WARNING, translation_key="deprecated_yaml", diff --git a/homeassistant/components/idasen_desk/manifest.json b/homeassistant/components/idasen_desk/manifest.json index 3376d9fabaa055..ee86091ea86ce0 100644 --- a/homeassistant/components/idasen_desk/manifest.json +++ b/homeassistant/components/idasen_desk/manifest.json @@ -13,5 +13,5 @@ "integration_type": "device", "iot_class": "local_push", "quality_scale": "bronze", - "requirements": ["idasen-ha==2.7.0"] + "requirements": ["idasen-ha==3.0.1"] } diff --git a/homeassistant/components/modern_forms/diagnostics.py b/homeassistant/components/modern_forms/diagnostics.py index ac08b701e38f21..b4d3a57631a67a 100644 --- a/homeassistant/components/modern_forms/diagnostics.py +++ b/homeassistant/components/modern_forms/diagnostics.py @@ -11,6 +11,7 @@ REDACT_CONFIG = {CONF_MAC} REDACT_DEVICE_INFO = {"mac_address", "owner"} +REDACT_DEVICE_STATUS = {"schedule", "user_data"} async def async_get_config_entry_diagnostics( @@ -25,6 +26,8 @@ async def async_get_config_entry_diagnostics( "info": async_redact_data( asdict(coordinator.modern_forms.info), REDACT_DEVICE_INFO ), - "status": asdict(coordinator.modern_forms.status), + "status": async_redact_data( + asdict(coordinator.modern_forms.status), REDACT_DEVICE_STATUS + ), }, } diff --git a/homeassistant/components/modern_forms/manifest.json b/homeassistant/components/modern_forms/manifest.json index 5d036319f8e37c..9dc7b7818debab 100644 --- a/homeassistant/components/modern_forms/manifest.json +++ b/homeassistant/components/modern_forms/manifest.json @@ -6,7 +6,7 @@ "documentation": "https://www.home-assistant.io/integrations/modern_forms", "iot_class": "local_polling", "loggers": ["aiomodernforms"], - "requirements": ["aiomodernforms==0.1.8"], + "requirements": ["aiomodernforms==0.2.0"], "zeroconf": [ { "name": "wac*", diff --git a/homeassistant/components/sonos/manifest.json b/homeassistant/components/sonos/manifest.json index 90d59e0c7db4f3..a3efeacdab216d 100644 --- a/homeassistant/components/sonos/manifest.json +++ b/homeassistant/components/sonos/manifest.json @@ -12,7 +12,7 @@ "quality_scale": "bronze", "requirements": [ "defusedxml==0.7.1", - "soco==0.31.1", + "soco==0.31.2", "sonos-websocket==0.2.0" ], "ssdp": [ diff --git a/pyproject.toml b/pyproject.toml index 43f8fc309b9139..2c7bf1895401be 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -594,8 +594,6 @@ filterwarnings = [ "ignore:websockets.legacy is deprecated:DeprecationWarning:websockets.legacy", # -- unmaintained projects, last release about 2+ years - # https://pypi.org/project/aiomodernforms/ - v0.1.8 - 2021-06-27 - "ignore:with timeout\\(\\) is deprecated:DeprecationWarning:aiomodernforms.modernforms", # https://pypi.org/project/colorthief/ - v0.2.1 - 2017-02-09 "ignore:Image.Image.getdata is deprecated and will be removed in Pillow 14.* Use get_flattened_data instead:DeprecationWarning:colorthief", # https://pypi.org/project/directv/ - v0.4.0 - 2020-09-12 diff --git a/requirements_all.txt b/requirements_all.txt index 60890787e29fd0..de6a5b98dbd496 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -345,7 +345,7 @@ aiomealie==2.0.0 aiomelcloudhome==0.2.1 # homeassistant.components.modern_forms -aiomodernforms==0.1.8 +aiomodernforms==0.2.0 # homeassistant.components.yamaha_musiccast aiomusiccast==0.15.0 @@ -1335,7 +1335,7 @@ icalendar==6.3.1 icmplib==3.0.4 # homeassistant.components.idasen_desk -idasen-ha==2.7.0 +idasen-ha==3.0.1 # homeassistant.components.idrive_e2 idrive-e2-client==0.1.1 @@ -3062,7 +3062,7 @@ smart-meter-texas==0.5.5 snapcast==2.3.8 # homeassistant.components.sonos -soco==0.31.1 +soco==0.31.2 # homeassistant.components.solaredge_local solaredge-local==0.2.3 diff --git a/script/gen_copilot_instructions.py b/script/gen_copilot_instructions.py index 5f36d3ef2ed025..020d58252f8c13 100755 --- a/script/gen_copilot_instructions.py +++ b/script/gen_copilot_instructions.py @@ -26,7 +26,7 @@ - Do not comment on code style, formatting or linting issues. - Flag comments that over-explain straightforward code, narrate the obvious, or read like AI commentary (multi-sentence justifications for a single line). - A Pull Request with a dependency version bump should only contain changes required for the version bump. If the PR includes other changes, request that they are removed from the PR. -- Check that the PR description is complete and filled in according to the PR template included below. Every section and checklist item from the template must be present, except the `## Breaking change` section which is optional. No content from the template should be missing, except for HTML comments. Even unchecked checkboxes or empty sections must be present. This is a hard requirement. +- Check that the PR description is complete and filled in according to the PR template included below. Every section and checklist item from the template must be present, except the `## Breaking change` section which is optional. No content from the template should be missing, except for HTML comments and Markdown link reference definitions (lines of the form `[name]: url`), which do not render and cannot be verified from the description. Even unchecked checkboxes or empty sections must be present. This is a hard requirement. ## Pull Request template diff --git a/tests/components/modern_forms/fixtures/device_status.json b/tests/components/modern_forms/fixtures/device_status.json index 05c5aff30e7c73..408f9637c201ca 100644 --- a/tests/components/modern_forms/fixtures/device_status.json +++ b/tests/components/modern_forms/fixtures/device_status.json @@ -13,5 +13,6 @@ "lightSleepTimer": 0, "resetRfPairList": false, "rfPairModeActive": false, - "schedule": "" + "schedule": "QkFTRTY0U0NIRURVTEU=", + "userData": "some-app-written-data" } diff --git a/tests/components/modern_forms/snapshots/test_diagnostics.ambr b/tests/components/modern_forms/snapshots/test_diagnostics.ambr index 1b4090ca5a4a33..e91a87a1053cca 100644 --- a/tests/components/modern_forms/snapshots/test_diagnostics.ambr +++ b/tests/components/modern_forms/snapshots/test_diagnostics.ambr @@ -24,7 +24,9 @@ }), 'device': dict({ 'info': dict({ + 'brand': None, 'client_id': 'MF_000000000000', + 'date_code': '', 'device_name': 'ModernFormsFan', 'fan_motor_type': 'DC125X25', 'fan_type': '1818-56', @@ -41,13 +43,23 @@ 'status': dict({ 'adaptive_learning_enabled': False, 'away_mode_enabled': False, + 'decommission': False, + 'factory_reset': False, 'fan_direction': 'forward', 'fan_on': True, 'fan_sleep_timer': 0, 'fan_speed': 3, + 'fan_timer': None, 'light_brightness': 50, 'light_on': True, 'light_sleep_timer': 0, + 'light_timer': None, + 'reset_rf_pair_list': False, + 'rf_pair_mode_active': False, + 'schedule': '**REDACTED**', + 'user_data': '**REDACTED**', + 'wind': None, + 'wind_speed': 2, }), }), })