From: Vincent Vanwaelscappel Date: Fri, 14 Jul 2023 09:58:51 +0000 (+0200) Subject: . X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=46d3a0f41d2282cd5ce3dc68fde39f3c3abbaa01;p=tortuga-home.git . --- diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 2ed2406..526a0f3 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -5,12 +5,8 @@ - - - - - + diff --git a/scripts/homeassistant_device_event.php b/scripts/homeassistant_device_event.php index d83f629..3350661 100644 --- a/scripts/homeassistant_device_event.php +++ b/scripts/homeassistant_device_event.php @@ -103,7 +103,7 @@ function cubeBureau() { off('bureau'); break; case 'slide': - if ($face == 3) { + if ($face == 5) { haAction('script.klarstein_fan_toggle'); break; } @@ -115,14 +115,14 @@ function cubeBureau() { } break; case 'rotate_right': - if ($face == 3) { + if ($face == 5) { haAction('script.klarstein_fan_speed_up'); break; } volume(config('VOLUME_STEP'), '+'); break; case 'rotate_left': - if ($face == 3) { + if ($face == 5) { haAction('script.klarstein_fan_speed_down'); break; }