We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f72c508 commit 0283134Copy full SHA for 0283134
tests/test_charge_point.py
@@ -67,8 +67,8 @@ async def test_cms_responses(hass):
67
)
68
except asyncio.TimeoutError:
69
pass
70
- assert int(cs.get_metric("test_cpid","Energy.Active.Import.Register")) == 1305570
71
- assert cs.get_unit("test_cpid","Energy.Active.Import.Register") == "Wh"
+ assert int(cs.get_metric("test_cpid","Energy.Active.Import.Register")) == int(1305570/1000)
+ assert cs.get_unit("test_cpid","Energy.Active.Import.Register") == "kWh"
72
await async_unload_entry(hass, config_entry)
73
await hass.async_block_till_done()
74
0 commit comments