add delete and shutdown Fn

need to delete all Shutter timer then ASC delete
	geändert:       FHEM/73_AutoShuttersControl.pm
	geändert:       lib/FHEM/Automation/ShuttersControl.pm
This commit is contained in:
2020-07-03 13:27:11 +02:00
parent 924363fe18
commit 8812be8fca
3 changed files with 41 additions and 8 deletions

View File

@ -73,12 +73,14 @@ sub Initialize {
## Da ich mit package arbeite müssen in die Initialize für die jeweiligen hash Fn Funktionen der Funktionsname
# und davor mit :: getrennt der eigentliche package Name des Modules
$hash->{SetFn} = \&FHEM::Automation::ShuttersControl::Set;
$hash->{GetFn} = \&FHEM::Automation::ShuttersControl::Get;
$hash->{DefFn} = \&FHEM::Automation::ShuttersControl::Define;
$hash->{NotifyFn} = \&FHEM::Automation::ShuttersControl::Notify;
$hash->{UndefFn} = \&FHEM::Automation::ShuttersControl::Undef;
$hash->{AttrList} =
$hash->{SetFn} = \&FHEM::Automation::ShuttersControl::Set;
$hash->{GetFn} = \&FHEM::Automation::ShuttersControl::Get;
$hash->{DefFn} = \&FHEM::Automation::ShuttersControl::Define;
$hash->{NotifyFn} = \&FHEM::Automation::ShuttersControl::Notify;
$hash->{UndefFn} = \&FHEM::Automation::ShuttersControl::Undef;
$hash->{DeleteFn} = \&FHEM::Automation::ShuttersControl::Delete;
$hash->{ShutdownFn} = \&FHEM::Automation::ShuttersControl::Shutdown;
$hash->{AttrList} =
'ASC_tempSensor '
. 'ASC_brightnessDriveUpDown '
. 'ASC_autoShuttersControlMorning:on,off '