Fix detection: _TZ3000_pgq7ormg as TS0001_switch_module #9952
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.
Hello! First time contributing here, so I have some questions.
I added my device (1-gang switch module) as TS0001_switch_module.
It does not have a recognizable name, but I wanted to add the picture anyway.
Link to picture pull request: Koenkk/zigbee2mqtt.io#4121
All features work: switch type, power-on behavior, countdown.
But the device also has a blue LED that indicates the relay state (and blinks when in pairing mode).
I can control the LED behaviour with
indicatorMode, although a power-cycle is required for the setting to apply.I assume this is also the case for the other switches, so is there a reason why it's omitted?
Should I create a new converter with all 4 options?
Another question: Can I 'link' my Z2M instance to my local clone of this repo?
I cloned both Z2M and converters repos on my PC for testing and developing.
When adding new devices/detections: I think it would be easier to edit the converters in place, instead of creating custom external converters. Is this possible?
Thanks!