From 5c4c6a2f5fbb9a659e2bffec5dc25dd5c3a9a293 Mon Sep 17 00:00:00 2001 From: justme-1968 Date: Wed, 15 Dec 2021 14:29:19 +0000 Subject: [PATCH] 31_LightScene.pm: add id anchors to doku (by Beta-User) git-svn-id: https://svn.fhem.de/fhem/trunk@25346 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/31_LightScene.pm | 27 ++++++++++++++++++--------- 1 file changed, 18 insertions(+), 9 deletions(-) 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