Skip to content

Commit

Permalink
Only showing notifications that are not seen
Browse files Browse the repository at this point in the history
  • Loading branch information
valleedelisle committed Jan 16, 2022
1 parent 42c7a0e commit c828946
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/hilo/sensor.py
Expand Up @@ -456,7 +456,7 @@ async def _async_update(self):
for notification in await self._hilo._api.get_event_notifications(
self._hilo.devices.location_id
):
if not notification.get("viewed"):
if notification.get("viewed"):
continue
self._notifications.append(
{
Expand Down

0 comments on commit c828946

Please sign in to comment.