Add support for static typing for the PECO library (#68707)
This commit is contained in:
parent
8714beb5e7
commit
fb14ae211e
5 changed files with 56 additions and 33 deletions
|
@ -66,7 +66,7 @@ async def test_sensor_available(
|
|||
if sensor == "total_customers_out":
|
||||
assert sensor_entity.state == "123"
|
||||
elif sensor == "total_percent_customers_out":
|
||||
assert sensor_entity.state == "15.589"
|
||||
assert sensor_entity.state == "1"
|
||||
elif sensor == "total_outage_count":
|
||||
assert sensor_entity.state == "456"
|
||||
elif sensor == "total_customers_served":
|
||||
|
@ -125,7 +125,7 @@ async def test_sensor_available(
|
|||
if sensor == "bucks_customers_out":
|
||||
assert sensor_entity.state == "123"
|
||||
elif sensor == "bucks_percent_customers_out":
|
||||
assert sensor_entity.state == "15.589"
|
||||
assert sensor_entity.state == "1"
|
||||
elif sensor == "bucks_outage_count":
|
||||
assert sensor_entity.state == "456"
|
||||
elif sensor == "bucks_customers_served":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue