Improve string formatting v6 (#33698)
This commit is contained in:
1 parent
d7e3b0b755
commit
eae21be5b9
43 files changed
+81
-87
No files matched your search
@@ -138,7 +138,7 @@ async def test_invalid_data(hass, aioclient_mock):
|
||||
await async_setup_component(hass, "sensor", {"sensor": VALID_CONFIG})
|
||||
|
||||
for condition in VALID_CONFIG["monitored_conditions"]:
|
||||
state = hass.states.get("sensor.pws_" + condition)
|
||||
state = hass.states.get(f"sensor.pws_{condition}")
|
||||
assert state.state == STATE_UNKNOWN
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user