File tree Expand file tree Collapse file tree 3 files changed +1689
-2
lines changed Expand file tree Collapse file tree 3 files changed +1689
-2
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ pytest-timeout
99pytest-asyncio<1.0
1010pytest-xdist
1111pytest
12+ python-slugify
1213zigpy>=0.65.2
1314ruff
1415looptime
Original file line number Diff line number Diff line change @@ -350,10 +350,10 @@ def zigpy_device_from_device_data(
350350 endpoint .profile_id = profile_id
351351 endpoint .device_type = device_type
352352
353- for cluster_id in ep [ "input_clusters" ] :
353+ for cluster_id in ep . get ( "input_clusters" , []) :
354354 endpoint .add_input_cluster (int (cluster_id , 16 ))
355355
356- for cluster_id in ep [ "output_clusters" ] :
356+ for cluster_id in ep . get ( "output_clusters" , []) :
357357 endpoint .add_output_cluster (int (cluster_id , 16 ))
358358 else :
359359 for epid , ep in device_data ["endpoints" ].items ():
You can’t perform that action at this time.
0 commit comments