diff --git a/homeassistant/components/p1_monitor/manifest.json b/homeassistant/components/p1_monitor/manifest.json index 3ed5589e577..0dfe1f3a46c 100644 --- a/homeassistant/components/p1_monitor/manifest.json +++ b/homeassistant/components/p1_monitor/manifest.json @@ -7,5 +7,5 @@ "iot_class": "local_polling", "loggers": ["p1monitor"], "quality_scale": "platinum", - "requirements": ["p1monitor==2.1.1"] + "requirements": ["p1monitor==3.0.0"] } diff --git a/requirements_all.txt b/requirements_all.txt index 3b67ff705c4..b090f5ff6b0 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -1426,7 +1426,7 @@ orvibo==1.1.1 ovoenergy==1.2.0 # homeassistant.components.p1_monitor -p1monitor==2.1.1 +p1monitor==3.0.0 # homeassistant.components.mqtt paho-mqtt==1.6.1 diff --git a/requirements_test_all.txt b/requirements_test_all.txt index f47a416cb23..e40aed8d023 100644 --- a/requirements_test_all.txt +++ b/requirements_test_all.txt @@ -1096,7 +1096,7 @@ oralb-ble==0.17.6 ovoenergy==1.2.0 # homeassistant.components.p1_monitor -p1monitor==2.1.1 +p1monitor==3.0.0 # homeassistant.components.mqtt paho-mqtt==1.6.1 diff --git a/tests/components/p1_monitor/test_diagnostics.py b/tests/components/p1_monitor/test_diagnostics.py index 47f43dd3401..55d4ccc5e67 100644 --- a/tests/components/p1_monitor/test_diagnostics.py +++ b/tests/components/p1_monitor/test_diagnostics.py @@ -35,12 +35,12 @@ async def test_diagnostics( "energy_production_low": 1432.279, }, "phases": { - "voltage_phase_l1": "233.6", - "voltage_phase_l2": "0.0", - "voltage_phase_l3": "233.0", - "current_phase_l1": "1.6", - "current_phase_l2": "4.44", - "current_phase_l3": "3.51", + "voltage_phase_l1": 233.6, + "voltage_phase_l2": 0.0, + "voltage_phase_l3": 233.0, + "current_phase_l1": 1.6, + "current_phase_l2": 4.44, + "current_phase_l3": 3.51, "power_consumed_phase_l1": 315, "power_consumed_phase_l2": 0, "power_consumed_phase_l3": 624, @@ -49,11 +49,11 @@ async def test_diagnostics( "power_produced_phase_l3": 0, }, "settings": { - "gas_consumption_price": "0.64", - "energy_consumption_price_high": "0.20522", - "energy_consumption_price_low": "0.20522", - "energy_production_price_high": "0.20522", - "energy_production_price_low": "0.20522", + "gas_consumption_price": 0.64, + "energy_consumption_price_high": 0.20522, + "energy_consumption_price_low": 0.20522, + "energy_production_price_high": 0.20522, + "energy_production_price_low": 0.20522, }, "watermeter": { "consumption_day": 112.0,