mirror of
https://github.com/home-assistant/core.git
synced 2025-11-08 18:39:30 +00:00
Improved debugging for "Failed to set state" (#101657)
This commit is contained in:
committed by
GitHub
parent
ba3fd4dee1
commit
1b11062b27
@@ -1500,7 +1500,7 @@ async def test_invalid_state(
|
||||
assert (
|
||||
"homeassistant.helpers.entity",
|
||||
logging.ERROR,
|
||||
f"Failed to set state, fall back to {STATE_UNKNOWN}",
|
||||
f"Failed to set state for test.test, fall back to {STATE_UNKNOWN}",
|
||||
) in caplog.record_tuples
|
||||
|
||||
ent._attr_state = "x" * 255
|
||||
|
||||
Reference in New Issue
Block a user