patch_setExtention #85
@ -67,6 +67,8 @@ use Time::Local;
|
||||
use Time::Piece;
|
||||
use Time::Seconds;
|
||||
|
||||
use SetExtensions;
|
||||
|
||||
# try to use JSON::MaybeXS wrapper
|
||||
# for chance of better performance + open code
|
||||
eval {
|
||||
@ -561,6 +563,7 @@ sub Set {
|
||||
$abilities = 'winter_settings';
|
||||
$service_id = $hash->{helper}->{'winter_mode_id'};
|
||||
}
|
||||
|
||||
else {
|
||||
|
||||
my $list = '';
|
||||
@ -613,7 +616,8 @@ sub Set {
|
||||
|
||||
# all devices has abilitie to fall a sleep
|
||||
$list .= ' winter_mode:awake,hibernate';
|
||||
return "Unknown argument $cmd, choose one of $list";
|
||||
return SetExtensions($hash, $list, $name, $cmd, @aArg);
|
||||
# return "Unknown argument $cmd, choose one of $list";
|
||||
}
|
||||
|
||||
$hash->{helper}{deviceAction} = $payload;
|
||||
|
@ -1,2 +1,2 @@
|
||||
UPD 2023-01-10_09:49:28 49646 FHEM/73_GardenaSmartBridge.pm
|
||||
UPD 2023-01-10_09:49:45 126305 FHEM/74_GardenaSmartDevice.pm
|
||||
UPD 2023-03-02_11:14:34 49646 FHEM/73_GardenaSmartBridge.pm
|
||||
UPD 2023-03-02_11:24:07 126390 FHEM/74_GardenaSmartDevice.pm
|
||||
|
Loading…
x
Reference in New Issue
Block a user