mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-01 20:20:10 +00:00
Brightness converted from hex
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@904 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
eff5022d54
commit
fbee5290d4
@ -311,7 +311,7 @@ CUL_HM_Parse($$)
|
||||
my $state;
|
||||
if($cmd =~ m/^.410/ && $p =~ m/^0601(..)(..)/) {
|
||||
($state, undef) = ($1, $2);
|
||||
push @event, "brightness:$state";
|
||||
push @event, "brightness:".hex($state);
|
||||
push @event, "state:alive";
|
||||
}
|
||||
if($cmd =~ m/^.441/ && $p =~ m/^01(......)/) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user