mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-07 22:29:19 +00:00
SMUtils.pm: update to version 1.6.0
git-svn-id: https://svn.fhem.de/fhem/trunk@22823 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
eaa9e7566f
commit
ab917cefe9
@ -40,7 +40,7 @@ use FHEM::SynoModules::ErrCodes qw(:all); # Erro
|
||||
use GPUtils qw( GP_Import GP_Export );
|
||||
use Carp qw(croak carp);
|
||||
|
||||
use version; our $VERSION = version->declare('1.5.0');
|
||||
use version; our $VERSION = version->declare('1.6.0');
|
||||
|
||||
use Exporter ('import');
|
||||
our @EXPORT_OK = qw(
|
||||
@ -56,6 +56,7 @@ our @EXPORT_OK = qw(
|
||||
logout
|
||||
setActiveToken
|
||||
delActiveToken
|
||||
delCallParts
|
||||
setReadingErrorNone
|
||||
);
|
||||
|
||||
@ -634,6 +635,8 @@ sub delActiveToken {
|
||||
|
||||
$hash->{HELPER}{ACTIVE} = "off";
|
||||
|
||||
delCallParts ($hash);
|
||||
|
||||
if (AttrVal($name,"debugactivetoken",0)) {
|
||||
Log3($name, 1, "$name - Active-Token deleted by OPMODE: $hash->{OPMODE}");
|
||||
}
|
||||
@ -641,6 +644,19 @@ sub delActiveToken {
|
||||
return;
|
||||
}
|
||||
|
||||
#############################################################################################
|
||||
# lösche Helper der erstellten CALL / ACALL Teile
|
||||
# CALL / ACALL werden bei auslösen einer Aktion durch Set/Get erstellt
|
||||
#############################################################################################
|
||||
sub delCallParts {
|
||||
my $hash = shift;
|
||||
|
||||
delete $hash->{HELPER}{CALL};
|
||||
delete $hash->{HELPER}{ACALL};
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
#############################################################################################
|
||||
# Readings Error & Errorcode auf
|
||||
# Standard "none" setzen
|
||||
|
Loading…
x
Reference in New Issue
Block a user