Nest camera zones undocumented feature
allenporter opened this issue · comments
The SDM API appears to be sending zone information in updates for new cameras, however it is not documented.
{
'eventId': 'XXX,
'timestamp': '2022-01-24T16:51:01.933Z',
'resourceUpdate': {
'name': 'enterprises/YYY/devices/ZZZ',
'events': {
'sdm.devices.events.CameraPerson.Person': {
'eventSessionId': 'XXX',
'eventId': 'XXX',
'zones': ['Zone 1']
}
}
},
'userId': 'XXX',
'eventThreadId': 'XXX',
'resourceGroup': ['XXX'],
'eventThreadState': 'ENDED'
}
We should be able to expose these through to the EventMessage so they can be used by downstream projects.
Updating in home assistant in:
home-assistant/core#66187
home-assistant/home-assistant.io#21566