Skip to content

Commit

Permalink
config_flow: always log the DPS when adding new device.
Browse files Browse the repository at this point in the history
A change I thought I made in January, but must have been on a branch.

Issue #1667
  • Loading branch information
make-all committed Feb 18, 2024
1 parent 013a0d6 commit 44ee448
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions custom_components/tuya_local/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,15 +94,15 @@ async def async_step_select_type(self, user_input=None):
if best_match < 100:
best_match = int(best_match)
dps = self.device._get_cached_state()
_LOGGER.warning(
"Device matches %s with quality of %d%%. DPS: %s",
best_matching_type,
best_match,
log_json(dps),
)
_LOGGER.warning(
"Report this to https://github.com/make-all/tuya-local/issues/"
)
_LOGGER.warning(
"Device matches %s with quality of %d%%. DPS: %s",
best_matching_type,
best_match,
log_json(dps),
)
_LOGGER.warning(
"Report this to https://github.com/make-all/tuya-local/issues/",
)
if types:
return self.async_show_form(
step_id="select_type",
Expand Down

0 comments on commit 44ee448

Please sign in to comment.