Add Safe Mode (#30723)
* Store last working HTTP settings * Add safe mode * Fix tests * Add cloud to safe mode * Update logging text * Fix camera tests leaving files behind * Make emulated_hue tests not leave files behind * Make logbook tests not leave files behind * Make tts tests not leave files behind * Make image_processing tests not leave files behind * Make manual_mqtt tests not leave files behind
This commit is contained in:
1 parent
c4673ddee1
commit
5fdc60e067
35 files changed
+480
-430
No files matched your search
@@ -0,0 +1,9 @@
|
||||
"""Tests for safe mode integration."""
|
||||
from homeassistant.setup import async_setup_component
|
||||
|
||||
|
||||
async def test_works(hass):
|
||||
"""Test safe mode works."""
|
||||
assert await async_setup_component(hass, "safe_mode", {})
|
||||
await hass.async_block_till_done()
|
||||
assert len(hass.states.async_entity_ids()) == 1
|
||||
Reference in new issue
Block a user