Upgrade black to 20.8b1 (#39287)
This commit is contained in:
1 parent
0d7eec710c
commit
1c2ebdf307
574 files changed
+4389
-1725
No files matched your search
@@ -71,7 +71,8 @@ async def test_low_battery(hass):
|
||||
sensor.hass = hass
|
||||
assert sensor.state_attributes["problem"] == "none"
|
||||
sensor.state_changed(
|
||||
"sensor.mqtt_plant_battery", State("sensor.mqtt_plant_battery", 10),
|
||||
"sensor.mqtt_plant_battery",
|
||||
State("sensor.mqtt_plant_battery", 10),
|
||||
)
|
||||
assert sensor.state == "problem"
|
||||
assert sensor.state_attributes["problem"] == "battery low"
|
||||
|
||||
Reference in new issue
Block a user