Skip to content

Commit

Permalink
Default retry_exceptions list was not defined correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
mdeweerd committed Jul 15, 2023
1 parent 0f4c08c commit 3c65cb5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
10 changes: 4 additions & 6 deletions custom_components/zha_toolkit/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -850,12 +850,10 @@ async def retry(
if retry_exceptions is None:
# Default list
retry_exceptions = (
(
DeliveryError,
ControllerException,
asyncio.CancelledError,
asyncio.TimeoutError,
),
DeliveryError,
ControllerException,
asyncio.CancelledError,
asyncio.TimeoutError,
)

while True:
Expand Down
2 changes: 1 addition & 1 deletion examples/service_call_read_basic_cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
#
service: script.1645121662206
data:
entity_name: button.tz3000_dbou1ap4_ts0505a_9afc91fe_identify
entity_name: button.bureau_identify
csv: ../www/lidl_basic_cluster.csv

0 comments on commit 3c65cb5

Please sign in to comment.