mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-02-25 03:44:52 +00:00
36_Shelly.pm: fix setting attribute slat_control
git-svn-id: https://svn.fhem.de/fhem/trunk@29637 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
bb3d4b1d3d
commit
0d1a61a6ed
@ -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
|
||||
|
@ -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 <name> 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 ){
|
||||
|
Loading…
x
Reference in New Issue
Block a user