Repository navigation
examples: use the type-annotated HID driver - #170
Merged
Merged
Conversation
Import the Tridonic DALI-USB and hasseb HID drivers from dali-drivers' type-annotated subpackage (dalidrivers.typed.hid) rather than dalidrivers.misc.hid, so the HID examples benefit from the PEP 561 typed driver. Follow-up to the serial example change; depends on the type-annotated HID driver being released in dali-drivers (the dalidrivers.typed.hid module), so merge this only once that release is available. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
examples: use the type-annotated HID driver
Follow-up to the serial example change. Repoints the seven HID examples from
dalidrivers.misc.hidto the type-annotateddalidrivers.typed.hid, so theyuse the PEP 561 typed Tridonic DALI-USB / hasseb driver:
async-buswatch.py,async-commissioning.py,async-dalitest.py,async-flash.py,async-supplyoff.py,async-supplyon.py,async-tc.pyImport-path change only; class names (
tridonic,hasseb) are unchanged.