From e3c321cc39fed830103428e9e94643acee0f246c Mon Sep 17 00:00:00 2001 From: Allram Date: Sun, 21 Mar 2021 12:56:47 +0100 Subject: [PATCH] Added Sensor On/Off capability --- drivers/virtual_switch/pair/capabilities.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/virtual_switch/pair/capabilities.js b/drivers/virtual_switch/pair/capabilities.js index 7c27908..b251378 100644 --- a/drivers/virtual_switch/pair/capabilities.js +++ b/drivers/virtual_switch/pair/capabilities.js @@ -159,7 +159,8 @@ var devices = { "meter_rain", "measure_power", "alarm_motion", - "alarm_contact" + "alarm_contact", + "onoff" ], "defaultCapabilities": [ ]