diff --git a/node-red-contrib-xiaomi-motion/xiaomi-motion.html b/node-red-contrib-xiaomi-motion/xiaomi-motion.html index 4fab653..4257413 100644 --- a/node-red-contrib-xiaomi-motion/xiaomi-motion.html +++ b/node-red-contrib-xiaomi-motion/xiaomi-motion.html @@ -49,7 +49,7 @@ } }); $("#node-input-gateway").change(function () { - changeGateway("magnet"); + changeGateway("motion"); }); }, oneditsave: function() {