mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 12:59:34 +00:00
Bumb python-homewizard-energy to 4.3.0 (#109131)
This commit is contained in:
@@ -179,6 +179,54 @@ pytestmark = [
|
||||
"sensor.device_wi_fi_strength",
|
||||
],
|
||||
),
|
||||
(
|
||||
"HWE-KWH1",
|
||||
[
|
||||
"sensor.device_apparent_power",
|
||||
"sensor.device_current",
|
||||
"sensor.device_energy_export",
|
||||
"sensor.device_energy_import",
|
||||
"sensor.device_frequency",
|
||||
"sensor.device_power_factor",
|
||||
"sensor.device_power",
|
||||
"sensor.device_reactive_power",
|
||||
"sensor.device_voltage",
|
||||
"sensor.device_wi_fi_ssid",
|
||||
"sensor.device_wi_fi_strength",
|
||||
],
|
||||
),
|
||||
(
|
||||
"HWE-KWH3",
|
||||
[
|
||||
"sensor.device_apparent_power_phase_1",
|
||||
"sensor.device_apparent_power_phase_2",
|
||||
"sensor.device_apparent_power_phase_3",
|
||||
"sensor.device_apparent_power",
|
||||
"sensor.device_current_phase_1",
|
||||
"sensor.device_current_phase_2",
|
||||
"sensor.device_current_phase_3",
|
||||
"sensor.device_current",
|
||||
"sensor.device_energy_export",
|
||||
"sensor.device_energy_import",
|
||||
"sensor.device_frequency",
|
||||
"sensor.device_power_factor_phase_1",
|
||||
"sensor.device_power_factor_phase_2",
|
||||
"sensor.device_power_factor_phase_3",
|
||||
"sensor.device_power_phase_1",
|
||||
"sensor.device_power_phase_2",
|
||||
"sensor.device_power_phase_3",
|
||||
"sensor.device_power",
|
||||
"sensor.device_reactive_power_phase_1",
|
||||
"sensor.device_reactive_power_phase_2",
|
||||
"sensor.device_reactive_power_phase_3",
|
||||
"sensor.device_reactive_power",
|
||||
"sensor.device_voltage_phase_1",
|
||||
"sensor.device_voltage_phase_2",
|
||||
"sensor.device_voltage_phase_3",
|
||||
"sensor.device_wi_fi_ssid",
|
||||
"sensor.device_wi_fi_strength",
|
||||
],
|
||||
),
|
||||
],
|
||||
)
|
||||
async def test_sensors(
|
||||
@@ -276,6 +324,43 @@ async def test_sensors(
|
||||
"sensor.device_wi_fi_strength",
|
||||
],
|
||||
),
|
||||
(
|
||||
"HWE-KWH1",
|
||||
[
|
||||
"sensor.device_apparent_power",
|
||||
"sensor.device_current",
|
||||
"sensor.device_frequency",
|
||||
"sensor.device_power_factor",
|
||||
"sensor.device_reactive_power",
|
||||
"sensor.device_voltage",
|
||||
"sensor.device_wi_fi_strength",
|
||||
],
|
||||
),
|
||||
(
|
||||
"HWE-KWH3",
|
||||
[
|
||||
"sensor.device_apparent_power_phase_1",
|
||||
"sensor.device_apparent_power_phase_2",
|
||||
"sensor.device_apparent_power_phase_3",
|
||||
"sensor.device_apparent_power",
|
||||
"sensor.device_current_phase_1",
|
||||
"sensor.device_current_phase_2",
|
||||
"sensor.device_current_phase_3",
|
||||
"sensor.device_current",
|
||||
"sensor.device_frequency",
|
||||
"sensor.device_power_factor_phase_1",
|
||||
"sensor.device_power_factor_phase_2",
|
||||
"sensor.device_power_factor_phase_3",
|
||||
"sensor.device_reactive_power_phase_1",
|
||||
"sensor.device_reactive_power_phase_2",
|
||||
"sensor.device_reactive_power_phase_3",
|
||||
"sensor.device_reactive_power",
|
||||
"sensor.device_voltage_phase_1",
|
||||
"sensor.device_voltage_phase_2",
|
||||
"sensor.device_voltage_phase_3",
|
||||
"sensor.device_wi_fi_strength",
|
||||
],
|
||||
),
|
||||
],
|
||||
)
|
||||
async def test_disabled_by_default_sensors(
|
||||
@@ -518,6 +603,91 @@ async def test_external_sensors_unreachable(
|
||||
"sensor.device_water_usage",
|
||||
],
|
||||
),
|
||||
(
|
||||
"HWE-KWH1",
|
||||
[
|
||||
"sensor.device_apparent_power_phase_1",
|
||||
"sensor.device_apparent_power_phase_2",
|
||||
"sensor.device_apparent_power_phase_3",
|
||||
"sensor.device_average_demand",
|
||||
"sensor.device_average_demand",
|
||||
"sensor.device_current_phase_1",
|
||||
"sensor.device_current_phase_2",
|
||||
"sensor.device_current_phase_3",
|
||||
"sensor.device_dsmr_version",
|
||||
"sensor.device_energy_export_tariff_1",
|
||||
"sensor.device_energy_export_tariff_2",
|
||||
"sensor.device_energy_export_tariff_3",
|
||||
"sensor.device_energy_export_tariff_4",
|
||||
"sensor.device_energy_import_tariff_1",
|
||||
"sensor.device_energy_import_tariff_2",
|
||||
"sensor.device_energy_import_tariff_3",
|
||||
"sensor.device_energy_import_tariff_4",
|
||||
"sensor.device_frequency",
|
||||
"sensor.device_long_power_failures_detected",
|
||||
"sensor.device_peak_demand_current_month",
|
||||
"sensor.device_power_factor_phase_1",
|
||||
"sensor.device_power_factor_phase_2",
|
||||
"sensor.device_power_factor_phase_3",
|
||||
"sensor.device_power_failures_detected",
|
||||
"sensor.device_power_phase_2",
|
||||
"sensor.device_power_phase_3",
|
||||
"sensor.device_reactive_power_phase_1",
|
||||
"sensor.device_reactive_power_phase_2",
|
||||
"sensor.device_reactive_power_phase_3",
|
||||
"sensor.device_smart_meter_identifier",
|
||||
"sensor.device_smart_meter_model",
|
||||
"sensor.device_tariff",
|
||||
"sensor.device_total_water_usage",
|
||||
"sensor.device_voltage_phase_1",
|
||||
"sensor.device_voltage_phase_2",
|
||||
"sensor.device_voltage_phase_3",
|
||||
"sensor.device_voltage_sags_detected_phase_1",
|
||||
"sensor.device_voltage_sags_detected_phase_2",
|
||||
"sensor.device_voltage_sags_detected_phase_3",
|
||||
"sensor.device_voltage_swells_detected_phase_1",
|
||||
"sensor.device_voltage_swells_detected_phase_2",
|
||||
"sensor.device_voltage_swells_detected_phase_3",
|
||||
"sensor.device_water_usage",
|
||||
],
|
||||
),
|
||||
(
|
||||
"HWE-KWH3",
|
||||
[
|
||||
"sensor.device_average_demand",
|
||||
"sensor.device_current_phase_1",
|
||||
"sensor.device_current_phase_2",
|
||||
"sensor.device_current_phase_3",
|
||||
"sensor.device_dsmr_version",
|
||||
"sensor.device_energy_export_tariff_1",
|
||||
"sensor.device_energy_export_tariff_2",
|
||||
"sensor.device_energy_export_tariff_3",
|
||||
"sensor.device_energy_export_tariff_4",
|
||||
"sensor.device_energy_import_tariff_1",
|
||||
"sensor.device_energy_import_tariff_2",
|
||||
"sensor.device_energy_import_tariff_3",
|
||||
"sensor.device_energy_import_tariff_4",
|
||||
"sensor.device_frequency",
|
||||
"sensor.device_long_power_failures_detected",
|
||||
"sensor.device_peak_demand_current_month",
|
||||
"sensor.device_power_failures_detected",
|
||||
"sensor.device_smart_meter_identifier",
|
||||
"sensor.device_smart_meter_model",
|
||||
"sensor.device_tariff",
|
||||
"sensor.device_total_water_usage",
|
||||
"sensor.device_voltage_phase_1",
|
||||
"sensor.device_voltage_phase_2",
|
||||
"sensor.device_voltage_phase_3",
|
||||
"sensor.device_voltage_sags_detected_phase_1",
|
||||
"sensor.device_voltage_sags_detected_phase_2",
|
||||
"sensor.device_voltage_sags_detected_phase_3",
|
||||
"sensor.device_voltage_swells_detected_phase_1",
|
||||
"sensor.device_voltage_swells_detected_phase_2",
|
||||
"sensor.device_voltage_swells_detected_phase_3",
|
||||
"sensor.device_voltage",
|
||||
"sensor.device_water_usage",
|
||||
],
|
||||
),
|
||||
],
|
||||
)
|
||||
async def test_entities_not_created_for_device(
|
||||
|
||||
Reference in New Issue
Block a user