]> git.basschouten.com Git - openhab-addons.git/commitdiff
[wemo] Fix discovery methods (#16077)
authorJacob Laursen <jacob-github@vindvejr.dk>
Tue, 19 Dec 2023 21:54:42 +0000 (22:54 +0100)
committerGitHub <noreply@github.com>
Tue, 19 Dec 2023 21:54:42 +0000 (22:54 +0100)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
bundles/org.openhab.binding.wemo/src/main/resources/OH-INF/addon/addon.xml

index 32083dfcac58c073b8a0bb6e742a00a7c6c4a9ee..c508e2c18b905943f214e873aa450ff3d1f1affd 100644 (file)
                        <match-properties>
                                <match-property>
                                        <name>manufacturer</name>
-                                       <regex>(?i)BELKIN</regex>
+                                       <regex>(?i).*BELKIN.*</regex>
+                               </match-property>
+                               <match-property>
+                                       <name>modelName</name>
+                                       <regex>(?i)(socket|outdoorplug|insight|lightswitch|motion|sensor|bridge|maker|coffee|dimmer|crockpot|airpurifier|humidifier|heater).*</regex>
                                </match-property>
                        </match-properties>
                </discovery-method>