mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 21:06:19 +00:00
Store capabilities and supported features in entity registry, restore registered entities on startup (#30094)
* Store capabilities and supported features in entity registry * Restore states at startup * Restore non-disabled entities on HA start * Fix test * Pass device class from entity platform * Clean up restored entities from state machine * Fix Z-Wave test?
This commit is contained in:
@@ -130,6 +130,7 @@ async def test_auto_heal_midnight(hass, mock_openzwave):
|
||||
time = utc.localize(datetime(2017, 5, 6, 0, 0, 0))
|
||||
async_fire_time_changed(hass, time)
|
||||
await hass.async_block_till_done()
|
||||
await hass.async_block_till_done()
|
||||
assert network.heal.called
|
||||
assert len(network.heal.mock_calls) == 1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user