mirror of
https://github.com/home-assistant/core.git
synced 2025-11-14 05:20:17 +00:00
fix lint
This commit is contained in:
@@ -258,7 +258,7 @@ class AndroidIPCamEntity(Entity):
|
||||
def device_state_attributes(self):
|
||||
"""Return the state attributes."""
|
||||
state_attr = {}
|
||||
if self._ipcam.status_data is not None:
|
||||
if self._ipcam.status_data is None:
|
||||
return state_attr
|
||||
|
||||
state_attr[ATTR_VID_CONNS] = \
|
||||
|
||||
Reference in New Issue
Block a user