Rename safe mode to recovery mode (#102580)

This commit is contained in:
Erik Montnemery 2023-10-23 20:33:08 +02:00 committed by GitHub
parent 7a009ed6cd
commit c481fdb7d0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
17 changed files with 67 additions and 65 deletions

View file

@ -48,8 +48,8 @@ async def test_lovelace_from_storage(
assert response["result"] == {"yo": "hello"}
# Test with safe mode
hass.config.safe_mode = True
# Test with recovery mode
hass.config.recovery_mode = True
await client.send_json({"id": 8, "type": "lovelace/config"})
response = await client.receive_json()
assert not response["success"]