diff --git a/fhem/FHEM/31_LightScene.pm b/fhem/FHEM/31_LightScene.pm index 53b9a9209..43c7f82b0 100644 --- a/fhem/FHEM/31_LightScene.pm +++ b/fhem/FHEM/31_LightScene.pm @@ -5,7 +5,7 @@ package main; use strict; use warnings; -use POSIX; +#use POSIX; #use JSON; #use Data::Dumper; @@ -56,14 +56,15 @@ sub LightScene_Define($$) $hash->{HAS_JSON} = $LightScene_hasJSON; $hash->{HAS_DataDumper} = $LightScene_hasDataDumper; + $hash->{CONFIGFILE} = myStatefileName(); my %list; foreach my $a (@args) { foreach my $d (devspec2array($a)) { $list{$d} = 1; - addToDevAttrList( $d, "lightSceneParamsToSave" ); - addToDevAttrList( $d, "lightSceneRestoreOnlyIfChanged:1,0" ); + addToDevAttrList( $d, "lightSceneParamsToSave", 'LightScene' ); + addToDevAttrList( $d, "lightSceneRestoreOnlyIfChanged:1,0", 'LightScene' ); } } $hash->{CONTENT} = \%list; @@ -1012,20 +1013,22 @@ LightScene_editTable($) { } 1; +__END__ + =pod =item helper =item summary create scenes from multiple fhem devices =item summary_DE verwaltet Szenen aus mehreren FHEM Geräten =begin html - +

LightScene