Skip to content

Commit

Permalink
Update no capabilities log entry (#404)
Browse files Browse the repository at this point in the history
  • Loading branch information
edenhaus authored Jan 27, 2024
1 parent 3cb18de commit 4008cf6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion deebot_client/hardware/deebot/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,8 @@ def get_static_device_info(class_: str) -> StaticDeviceInfo:
_LOGGER.debug("Capabilities found for %s", class_)
return device

_LOGGER.warning("No capabilities found for %s. Using fallback.", class_)
_LOGGER.info(
"No capabilities found for %s, therefore not all features are available. trying to use fallback...",
class_,
)
return DEVICES[FALLBACK]

0 comments on commit 4008cf6

Please sign in to comment.