Bumb python-homewizard-energy to 8.3.0 (#136765)

This commit is contained in:
Duco Sebel 2025-01-29 01:00:46 +01:00 committed by GitHub
parent eb4a05e365
commit 7d0e314c35
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 21 additions and 5 deletions

View File

@ -12,6 +12,6 @@
"iot_class": "local_polling",
"loggers": ["homewizard_energy"],
"quality_scale": "platinum",
"requirements": ["python-homewizard-energy==v8.2.0"],
"requirements": ["python-homewizard-energy==v8.3.0"],
"zeroconf": ["_hwenergy._tcp.local.", "_homewizard._tcp.local."]
}

View File

@ -116,8 +116,15 @@ SENSORS: Final[tuple[HomeWizardSensorEntityDescription, ...]] = (
state_class=SensorStateClass.MEASUREMENT,
entity_category=EntityCategory.DIAGNOSTIC,
entity_registry_enabled_default=False,
has_fn=lambda data: data.measurement.wifi_strength is not None,
value_fn=lambda data: data.measurement.wifi_strength,
has_fn=(
lambda data: data.system is not None
and data.system.wifi_strength_pct is not None
),
value_fn=(
lambda data: data.system.wifi_strength_pct
if data.system is not None
else None
),
),
HomeWizardSensorEntityDescription(
key="total_power_import_kwh",

2
requirements_all.txt generated
View File

@ -2388,7 +2388,7 @@ python-gitlab==1.6.0
python-homeassistant-analytics==0.8.1
# homeassistant.components.homewizard
python-homewizard-energy==v8.2.0
python-homewizard-energy==v8.3.0
# homeassistant.components.hp_ilo
python-hpilo==4.4.3

View File

@ -1933,7 +1933,7 @@ python-fullykiosk==0.0.14
python-homeassistant-analytics==0.8.1
# homeassistant.components.homewizard
python-homewizard-energy==v8.2.0
python-homewizard-energy==v8.3.0
# homeassistant.components.izone
python-izone==1.2.9

View File

@ -79,6 +79,7 @@
'uptime_s': 356,
'wifi_rssi_db': -77,
'wifi_ssid': '**REDACTED**',
'wifi_strength_pct': 100,
}),
}),
'entry': dict({
@ -169,6 +170,7 @@
'uptime_s': None,
'wifi_rssi_db': None,
'wifi_ssid': '**REDACTED**',
'wifi_strength_pct': 92,
}),
}),
'entry': dict({
@ -259,6 +261,7 @@
'uptime_s': None,
'wifi_rssi_db': None,
'wifi_ssid': '**REDACTED**',
'wifi_strength_pct': 92,
}),
}),
'entry': dict({
@ -385,6 +388,7 @@
'uptime_s': None,
'wifi_rssi_db': None,
'wifi_ssid': '**REDACTED**',
'wifi_strength_pct': 100,
}),
}),
'entry': dict({
@ -479,6 +483,7 @@
'uptime_s': None,
'wifi_rssi_db': None,
'wifi_ssid': '**REDACTED**',
'wifi_strength_pct': 94,
}),
}),
'entry': dict({
@ -573,6 +578,7 @@
'uptime_s': None,
'wifi_rssi_db': None,
'wifi_ssid': '**REDACTED**',
'wifi_strength_pct': 100,
}),
}),
'entry': dict({
@ -663,6 +669,7 @@
'uptime_s': None,
'wifi_rssi_db': None,
'wifi_ssid': '**REDACTED**',
'wifi_strength_pct': 84,
}),
}),
'entry': dict({
@ -753,6 +760,7 @@
'uptime_s': None,
'wifi_rssi_db': None,
'wifi_ssid': '**REDACTED**',
'wifi_strength_pct': 92,
}),
}),
'entry': dict({
@ -843,6 +851,7 @@
'uptime_s': None,
'wifi_rssi_db': None,
'wifi_ssid': '**REDACTED**',
'wifi_strength_pct': 92,
}),
}),
'entry': dict({