]> git.basschouten.com Git - openhab-addons.git/commitdiff
[elerotransmitterstick] Support suggestion finder (#16229)
authorAndrew Fiddian-Green <software@whitebear.ch>
Sun, 7 Jan 2024 13:07:32 +0000 (13:07 +0000)
committerGitHub <noreply@github.com>
Sun, 7 Jan 2024 13:07:32 +0000 (14:07 +0100)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
bundles/org.openhab.binding.elerotransmitterstick/src/main/resources/OH-INF/addon/addon.xml

index 69b3731dbf34f1a4f7a7cb7b95ef45be84aef5b1..353134d269cece6c3ae85ec18240ef92e4fbab36 100644 (file)
@@ -8,4 +8,20 @@
        <description>This is the binding for Elero Transmitter Sticks.</description>
        <connection>local</connection>
 
+       <discovery-methods>
+               <discovery-method>
+                       <service-type>usb</service-type>
+                       <match-properties>
+                               <match-property>
+                                       <name>manufacturer</name>
+                                       <regex>(?i)elero gmbh.*</regex>
+                               </match-property>
+                               <match-property>
+                                       <name>chipId</name>
+                                       <regex>0403:6001</regex>
+                               </match-property>
+                       </match-properties>
+               </discovery-method>
+       </discovery-methods>
+
 </addon:addon>