mirror of
https://github.com/home-assistant/core.git
synced 2025-11-09 10:59:40 +00:00
* https://github.com/home-assistant/core/pull/55875\#discussion_r703334504 * missing test update
This commit is contained in:
@@ -123,7 +123,7 @@ async def test_restore_state_failed(hass: HomeAssistant) -> None:
|
||||
|
||||
state = hass.states.get("sensor.integration")
|
||||
assert state
|
||||
assert state.state == "unavailable"
|
||||
assert state.state == "unknown"
|
||||
assert state.attributes.get("unit_of_measurement") is None
|
||||
assert state.attributes.get("state_class") == STATE_CLASS_TOTAL
|
||||
|
||||
|
||||
Reference in New Issue
Block a user