Skip to content

Commit

Permalink
Fix generate_devices.py for 1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
lboue authored Nov 7, 2024
1 parent f2e08cb commit b30a5d8
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions scripts/generate_devices.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,12 +88,6 @@ def __hash__(self) -> int:
for device in data["configurator"]["deviceType"]:
name = device["typeName"]

if not name.startswith("Matter "):
print("Unexpected: device doesn't start with Matter. Skipping")
continue

name = name[len("Matter ") :]

print(name, device["deviceId"]["#text"])

clusters = device["clusters"]["include"]
Expand Down

0 comments on commit b30a5d8

Please sign in to comment.