Quick fix to the comparison to validate if an entity is hidden.

pull/96/head
Ryan Kraus 2015-04-14 23:38:14 -04:00
parent a3d6972268
commit 0334074a52
1 changed files with 1 additions and 1 deletions

View File

@ -139,7 +139,7 @@ class Entity(object):
"""
if self.entity_id is not None and \
self.entity_id.lower() in self._visibility:
return self._visibility[self.entity_id.lower()] is 'hide'
return self._visibility[self.entity_id.lower()] == 'hide'
else:
return self._hidden