FRM_RGB: stateFormat
git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@4174 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -86,7 +86,7 @@ FRM_RGB_Init($$)
|
||||
}
|
||||
$hash->{PINS} = \@pins;
|
||||
if (! (defined AttrVal($name,"stateFormat",undef))) {
|
||||
$attr{$name}{"stateFormat"} = "value";
|
||||
$attr{$name}{"stateFormat"} = "rgb";
|
||||
}
|
||||
my $value = ReadingsVal($name,"rgb",undef);
|
||||
if (defined $value and AttrVal($hash->{NAME},"restoreOnReconnect","on") eq "on") {
|
||||
|
||||
Reference in New Issue
Block a user