Add room hint support to Google Assistant cloud (#14180)
This commit is contained in:
1 parent
6e0a3abf66
commit
12dff5baa8
2 files changed
+6
-2
No files matched your search
@@ -318,7 +318,8 @@ def test_handler_google_actions(hass):
|
||||
'entity_config': {
|
||||
'switch.test': {
|
||||
'name': 'Config name',
|
||||
'aliases': 'Config alias'
|
||||
'aliases': 'Config alias',
|
||||
'room': 'living room'
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -347,6 +348,7 @@ def test_handler_google_actions(hass):
|
||||
assert device['name']['name'] == 'Config name'
|
||||
assert device['name']['nicknames'] == ['Config alias']
|
||||
assert device['type'] == 'action.devices.types.SWITCH'
|
||||
assert device['roomHint'] == 'living room'
|
||||
|
||||
|
||||
async def test_refresh_token_expired(hass):
|
||||
|
||||
Reference in new issue
Block a user