Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/copilot-instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
1 change: 1 addition & 0 deletions homeassistant/components/backup/strings.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
4 changes: 3 additions & 1 deletion homeassistant/components/http/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Expand All @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion homeassistant/components/idasen_desk/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
}
5 changes: 4 additions & 1 deletion homeassistant/components/modern_forms/diagnostics.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand All @@ -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
),
},
}
2 changes: 1 addition & 1 deletion homeassistant/components/modern_forms/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -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*",
Expand Down
2 changes: 1 addition & 1 deletion homeassistant/components/sonos/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand Down
2 changes: 0 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
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.

2 changes: 1 addition & 1 deletion script/gen_copilot_instructions.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
3 changes: 2 additions & 1 deletion tests/components/modern_forms/fixtures/device_status.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,6 @@
"lightSleepTimer": 0,
"resetRfPairList": false,
"rfPairModeActive": false,
"schedule": ""
"schedule": "QkFTRTY0U0NIRURVTEU=",
"userData": "some-app-written-data"
}
12 changes: 12 additions & 0 deletions tests/components/modern_forms/snapshots/test_diagnostics.ambr
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -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,
}),
}),
})
Expand Down
Loading