Just use debug instead of error if the binary_sensor does not get data (#17720)

pull/17724/head
kennedyshead 2018-10-23 13:03:01 +02:00 committed by Fabian Affolter
parent 7def587c93
commit 0723c7f5dc
1 changed files with 1 additions and 1 deletions

View File

@ -210,7 +210,7 @@ class OpenUV:
if data.get('from_time') and data.get('to_time'):
self.data[DATA_PROTECTION_WINDOW] = data
else:
_LOGGER.error(
_LOGGER.debug(
'No valid protection window data for this location')
self.data[DATA_PROTECTION_WINDOW] = {}