Just use debug instead of error if the binary_sensor does not get data (#17720)
This commit is contained in:
parent
7def587c93
commit
0723c7f5dc
1 changed files with 1 additions and 1 deletions
|
@ -210,7 +210,7 @@ class OpenUV:
|
||||||
if data.get('from_time') and data.get('to_time'):
|
if data.get('from_time') and data.get('to_time'):
|
||||||
self.data[DATA_PROTECTION_WINDOW] = data
|
self.data[DATA_PROTECTION_WINDOW] = data
|
||||||
else:
|
else:
|
||||||
_LOGGER.error(
|
_LOGGER.debug(
|
||||||
'No valid protection window data for this location')
|
'No valid protection window data for this location')
|
||||||
self.data[DATA_PROTECTION_WINDOW] = {}
|
self.data[DATA_PROTECTION_WINDOW] = {}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue