From 46d3a0f41d2282cd5ce3dc68fde39f3c3abbaa01 Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Fri, 14 Jul 2023 11:58:51 +0200 Subject: [PATCH] . --- .idea/workspace.xml | 9 +++------ scripts/homeassistant_device_event.php | 6 +++--- 2 files changed, 6 insertions(+), 9 deletions(-) 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; } -- 2.39.5