From 8cf4911fc37e36c618d2e3ba44faf24c65b6802f Mon Sep 17 00:00:00 2001 From: Vincent Date: Tue, 12 Jan 2021 15:57:36 +0100 Subject: [PATCH] . --- .idea/workspace.xml | 23 +++++++++++------------ scripts/lib/scenes.php | 4 ++-- 2 files changed, 13 insertions(+), 14 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 65efb08..dbdb7a7 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -3,9 +3,7 @@ - - - + diff --git a/scripts/lib/scenes.php b/scripts/lib/scenes.php index f4a2658..46de33f 100644 --- a/scripts/lib/scenes.php +++ b/scripts/lib/scenes.php @@ -636,7 +636,7 @@ $scenes = [ ['type' => 'function', 'function' => 'wcVMCOn'], ], 'wc/vmc/off' => [ - ['type' => 'insteon', 'command' => '0?1334=I=0=0'], + ['type' => 'domoticz', 'device' => '2205', 'command' => true, 'priority' => true], ], 'sdb/ampli/on' => [ @@ -1077,7 +1077,7 @@ function wcVMCOn() { setState('lastVMCOn', time()); // Start VMC - insteonCommand('0?1134=I=0=0'); + domoticzSwitch(2205,true,'light', true); } function wcVMCOff($timeout = 'auto') -- 2.39.5