Skip to content

Commit

Permalink
Log error on fallback
Browse files Browse the repository at this point in the history
  • Loading branch information
syssi committed Nov 18, 2018
1 parent 0678fae commit 06c0c5a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions miio/airconditioningcompanion.py
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,7 @@ def __init__(self, ip: str = None, token: str = None, start_id: int = 0,
self.model = model
else:
self.model = MODEL_ACPARTNER_V2
_LOGGER.error("Device model %s unsupported. Falling back to %s.", model, self.model)

@command(
default_output=format_output(
Expand Down

0 comments on commit 06c0c5a

Please sign in to comment.