mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-01 15:44:52 +00:00
31_HUEDevice.pm: fixed perl warning
git-svn-id: https://svn.fhem.de/fhem/trunk@25508 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
26ae86d9ee
commit
1913f0ffde
@ -1462,7 +1462,7 @@ HUEDevice_Parse($$)
|
||||
if( !defined($hash->{has_v2_api}) && defined($hash->{IODev}) ) {
|
||||
$hash->{has_v2_api} = $hash->{IODev}{has_v2_api} if( defined($hash->{IODev}{has_v2_api}) );
|
||||
|
||||
Log3 $name, 4, "$name: bridge has v2 api: $hash->{has_v2_api}";
|
||||
Log3 $name, 4, "$name: bridge has v2 api: ". ($hash->{has_v2_api} ? 1 : 0);
|
||||
|
||||
if( $hash->{INTERVAL} && $hash->{has_v2_api} ) {
|
||||
if( defined($hash->{IODev}{EventStream}) && $hash->{IODev}{EventStream} eq 'connected' ) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user