Bump aiomodernforms to 0.2.0 (#177506)

This commit is contained in:
Brian Towles
2026-07-29 11:14:08 -05:00
committed by GitHub
parent f5a6515dba
commit 125b2ac322
6 changed files with 20 additions and 6 deletions
@@ -11,6 +11,7 @@ from .coordinator import ModernFormsConfigEntry
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
),
},
}
@@ -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*",
-2
View File
@@ -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
+1 -1
View File
@@ -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
@@ -13,5 +13,6 @@
"lightSleepTimer": 0,
"resetRfPairList": false,
"rfPairModeActive": false,
"schedule": ""
"schedule": "QkFTRTY0U0NIRURVTEU=",
"userData": "some-app-written-data"
}
@@ -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,
}),
}),
})