Google assistant skip missing type (#23174)
* Skip entity if no device type found * Add test for potentially skipped binary sensors * Reorg code, add tests to ensure all exposed things have types * Lint * Fix tests * Lint
This commit is contained in:
1 parent
ce8ec3acb1
commit
4a2a130bfa
9 files changed
+285
-240
No files matched your search
@@ -335,7 +335,7 @@ async def test_websocket_status(hass, hass_ws_client, mock_cloud_fixture,
|
||||
client = await hass_ws_client(hass)
|
||||
|
||||
with patch.dict(
|
||||
'homeassistant.components.google_assistant.smart_home.'
|
||||
'homeassistant.components.google_assistant.const.'
|
||||
'DOMAIN_TO_GOOGLE_TYPES', {'light': None}, clear=True
|
||||
), patch.dict('homeassistant.components.alexa.smart_home.ENTITY_ADAPTERS',
|
||||
{'switch': None}, clear=True):
|
||||
|
||||
Reference in new issue
Block a user