Skip to content

Commit

Permalink
Change some log levels to warning
Browse files Browse the repository at this point in the history
  • Loading branch information
WillCodeForCats committed Dec 1, 2023
1 parent d7321a8 commit c91b35e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions custom_components/tekmar_482/hub.py
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ async def run(self) -> None:
)
)
except KeyError as e:
_LOGGER.error(
_LOGGER.warning(
(
f"Device address {e} not in inventory. "
"Reloading integration..."
Expand Down Expand Up @@ -450,7 +450,7 @@ async def run(self) -> None:
if device.device_id == b["address"]:
await device.set_setback_state(p.body["setback"])
except KeyError as e:
_LOGGER.error(
_LOGGER.warning(
(
f"Device address {e} not in inventory. "
"Reloading integration..."
Expand Down Expand Up @@ -496,7 +496,7 @@ async def run(self) -> None:
)

elif tha_method in ["TakingAddress"]:
_LOGGER.error(
_LOGGER.warning(
(
f"Device at address {p.body['old_address']} moved to "
f"{p.body['new_address']}. Reloading integration..."
Expand All @@ -505,7 +505,7 @@ async def run(self) -> None:
await self._hass.config_entries.async_reload(self._entry_id)

elif tha_method in ["DeviceAttributes"]:
_LOGGER.error(
_LOGGER.warning(
(
f"Device attributes for {b['address']} changed. "
"Reloading integration..."
Expand Down

0 comments on commit c91b35e

Please sign in to comment.