Refactor Google Assistant (#12959)
* Refactor Google Assistant * Fix cloud test * Fix supported features media player demo * Fix query * Fix execute * Fix demo media player tests * Add tests for traits * Lint * Lint * Add integration tests * Add more tests * update logging * Catch out of range temp errrors * Fix cloud error * Lint
This commit is contained in:
parent
8792fd22b9
commit
9b1a75a74b
16 changed files with 1676 additions and 822 deletions
|
@ -318,7 +318,6 @@ def test_handler_google_actions(hass):
|
|||
'entity_config': {
|
||||
'switch.test': {
|
||||
'name': 'Config name',
|
||||
'type': 'light',
|
||||
'aliases': 'Config alias'
|
||||
}
|
||||
}
|
||||
|
@ -347,7 +346,7 @@ def test_handler_google_actions(hass):
|
|||
assert device['id'] == 'switch.test'
|
||||
assert device['name']['name'] == 'Config name'
|
||||
assert device['name']['nicknames'] == ['Config alias']
|
||||
assert device['type'] == 'action.devices.types.LIGHT'
|
||||
assert device['type'] == 'action.devices.types.SWITCH'
|
||||
|
||||
|
||||
async def test_refresh_token_expired(hass):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue