Bump Home Assistant Cloud 0.12 (#23159)
* Home Assistant Cloud 0.12 * Fix raising error * Fix requirements * Fix lint
This commit is contained in:
1 parent
0b7e62f737
commit
073f947ca4
7 files changed
+26
-7
No files matched your search
@@ -11,6 +11,15 @@ async def test_remote_connection_sensor(hass):
|
||||
bin_sensor.WAIT_UNTIL_CHANGE = 0
|
||||
|
||||
assert await async_setup_component(hass, 'cloud', {'cloud': {}})
|
||||
await hass.async_block_till_done()
|
||||
|
||||
assert hass.states.get('binary_sensor.remote_ui') is None
|
||||
|
||||
# Fake connection/discovery
|
||||
org_cloud = hass.data['cloud']
|
||||
await org_cloud.iot._on_connect[-1]()
|
||||
|
||||
# Mock test env
|
||||
cloud = hass.data['cloud'] = Mock()
|
||||
cloud.remote.certificate = None
|
||||
await hass.async_block_till_done()
|
||||
|
||||
Reference in new issue
Block a user