diff --git a/spaceapi/utils.py b/spaceapi/utils.py --- a/spaceapi/utils.py +++ b/spaceapi/utils.py @@ -130,7 +130,7 @@ class ActiveStatus(Singleton, dict): pass def clear_user_present(self): - self['sensors']['people_now_presents'][0]['value'] = 0 + self['sensors']['people_now_present'][0]['value'] = 0 if 'names' in self['sensors']['people_now_present'][0]: del self['sensors']['people_now_present'][0]['names']