mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-07 22:29:19 +00:00
don't fallback to last saved state on modify
git-svn-id: https://svn.fhem.de/fhem/trunk@5913 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
be5f6232d3
commit
9a92bfbedc
@ -67,10 +67,13 @@ sub LightScene_Define($$)
|
||||
}
|
||||
$hash->{CONTENT} = \%list;
|
||||
|
||||
my %scenes;
|
||||
$hash->{SCENES} = \%scenes;
|
||||
if( !defined($hash->{SCENES}) ) {
|
||||
my %scenes;
|
||||
$hash->{SCENES} = \%scenes;
|
||||
|
||||
LightScene_Load($hash);
|
||||
}
|
||||
|
||||
LightScene_Load($hash);
|
||||
LightScene_updateHelper( $hash, AttrVal($name,"switchingOrder",undef) );
|
||||
|
||||
$hash->{STATE} = 'Initialized';
|
||||
|
Loading…
x
Reference in New Issue
Block a user