Add room hint support to Google Assistant cloud (#14180)

This commit is contained in:
Paulus Schoutsen authored and Pascal Vizeli committed 2018-04-30 21:05:29 +02:00
1 parent 6e0a3abf66
commit 12dff5baa8
2 files changed
+6 -2

No files matched your search

+3 -1
View File
@@ -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):