Skip to content

Commit

Permalink
Disable zigpy_cc - not found in ha
Browse files Browse the repository at this point in the history
  • Loading branch information
mdeweerd committed Mar 10, 2022
1 parent e358729 commit f4c819d
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions custom_components/zha_toolkit/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,13 +140,12 @@ def get_radiotype(app):
except Exception: # nosec
pass

try:
from zigpy_cc.api import API

if isinstance(app._api, API):
return RadioType.ZIGPY_CC
except Exception: # nosec
pass
# try:
# from zigpy_cc.api import API
# if isinstance(app._api, API):
# return RadioType.ZIGPY_CC
# except Exception: # nosec
# pass

LOGGER.debug("Type recognition for '%s' not implemented", type(app))
return RadioType.UNKNOWN
Expand Down

0 comments on commit f4c819d

Please sign in to comment.