Allow platform unloading (#13784)
* Allow platform unloading * Add tests * Add last test
This commit is contained in:
1 parent
dd7e6edf61
commit
f47572d3c0
12 files changed
+218
-14
No files matched your search
@@ -200,7 +200,7 @@ async def setup_bridge(hass, mock_bridge):
|
||||
config_entry = config_entries.ConfigEntry(1, hue.DOMAIN, 'Mock Title', {
|
||||
'host': 'mock-host'
|
||||
}, 'test')
|
||||
await hass.config_entries.async_forward_entry(config_entry, 'light')
|
||||
await hass.config_entries.async_forward_entry_setup(config_entry, 'light')
|
||||
# To flush out the service call to update the group
|
||||
await hass.async_block_till_done()
|
||||
|
||||
|
||||
Reference in new issue
Block a user