diff --git a/main.py b/main.py index f96fe55..f8789f7 100644 --- a/main.py +++ b/main.py @@ -393,7 +393,7 @@ async def latest(request): result = dict() for sensor in sensors: - if sensor.type_ == 'solar': + if sensor.type_ in ['solar', 'owntracks']: continue q = 'select * from {} where "name" = \'{}\' order by desc limit 1'.format(sensor.type_, sensor.name)