From 0d1a61a6edea2e95304bca5dad085711e9e9924b Mon Sep 17 00:00:00 2001 From: Starkstrombastler <> Date: Sat, 8 Feb 2025 09:34:21 +0000 Subject: [PATCH] 36_Shelly.pm: fix setting attribute slat_control git-svn-id: https://svn.fhem.de/fhem/trunk@29637 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/CHANGED | 1 + fhem/FHEM/36_Shelly.pm | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/fhem/CHANGED b/fhem/CHANGED index 86c9fbe79..7a1c23448 100644 --- a/fhem/CHANGED +++ b/fhem/CHANGED @@ -1,5 +1,6 @@ # Add changes at the top of the list. Keep it in ASCII, and 80-char wide. # Do not insert empty lines here, update check depends on it + - bugfix: 36_Shelly: setting of attribute slat_control - feature: 76_SolarForecast: new special reading todayConsumption - feature: 36_Shelly: Slat Control / Roller Gen2+ - feature: 73_PRESENCE2.pm: neues Attribut pingParam diff --git a/fhem/FHEM/36_Shelly.pm b/fhem/FHEM/36_Shelly.pm index 48d3a6e8f..16ebc1e3f 100644 --- a/fhem/FHEM/36_Shelly.pm +++ b/fhem/FHEM/36_Shelly.pm @@ -150,7 +150,7 @@ # 6.02.1 fix: update of input/output readings # 6.02.2 fix: update interval if interval is set to 0 # new: slat control für rollers Gen2+ - +# 6.02.3 fix: setting of attribute slat_control # to do roller: get maxtime open/close from shelly gen1 # get status on stopp even when interval == 0 @@ -1673,8 +1673,8 @@ sub Shelly_Attr(@) { #--------------------------------------- }elsif( $cmd eq "set" && $attrName eq "slat_control" ){ $error="The slat_control attribute is set by \'get settings\' only"; - Log3 $name,1,"[Shelly_Attr] $name\: $error "; - return $error; + # Log3 $name,1,"[Shelly_Attr] $name\: $error "; + # return $error; #--------------------------------------- }elsif( $cmd eq "set" && $attrName eq "slat_pos" ){ if( $attrVal<0 || $attrVal>100 ){