Skip to content

Commit

Permalink
Remove unnecessary schema conversions in tools
Browse files Browse the repository at this point in the history
  • Loading branch information
puddly committed Oct 16, 2024
1 parent 1b82997 commit 347b54b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zigpy_znp/tools/energy_scan.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
async def perform_energy_scan(radio_path, num_scans=None):
LOGGER.info("Starting up zigpy-znp")

config = ControllerApplication.SCHEMA({"device": {"path": radio_path}})
config = {"device": {"path": radio_path}}
app = ControllerApplication(config)
await app.connect()

Expand Down

0 comments on commit 347b54b

Please sign in to comment.