'Retrieve latest state.'

@asyncio.coroutine
def async_update(self):

    if (self._sensor in ('audio_connections', 'video_connections')):
        if (not self._ipcam.status_data):
            return
        self._state = self._ipcam.status_data.get(self._sensor)
        self._unit = 'Connections'
    else:
        (self._state, self._unit) = self._ipcam.export_sensor(self._sensor)
