From f91ccb1696c7b4927c68db02b74e5b049b9e5a5f Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Fri, 28 Mar 2025 11:01:31 +0100 Subject: [PATCH] . --- .idea/workspace.xml | 6 ++---- scripts/lib/denon.php | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 2fef348..3a13e74 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -5,8 +5,6 @@ - - diff --git a/scripts/lib/denon.php b/scripts/lib/denon.php index b6dba97..1adbedd 100644 --- a/scripts/lib/denon.php +++ b/scripts/lib/denon.php @@ -185,7 +185,7 @@ function epson($on = true, $force = false) } $currentState = getState('EpsonPowerState', '0') === '1'; - if (!$force && $currentState === $on) { + if (!$force && $currentState === $on && $on) { return; } -- 2.39.5