31_HUEDevice.pm: fixed typo

git-svn-id: https://svn.fhem.de/fhem/trunk@25648 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
justme1968
2022-02-07 11:49:47 +00:00
parent b62136161d
commit 8b8efe97a8

View File

@@ -1596,7 +1596,7 @@ HUEDevice_Parse($$)
&& ($result->{v2_service} || $result->{t}) # only for updates from events
&& defined($hash->{IODev} && $hash->{IODev}{TYPE} eq 'HUEBridge') ) {
$hash->{has_events} = $hash->{IODev}{has_v2_api} if( defined($hash->{IODev}{has_v2_api}) );
$hash->{has_events} = 1 if( $hash->{IODev}{is_DECONZ} );
$hash->{has_events} = 1 if( $hash->{IODev}{is_deCONZ} );
Log3 $name, 4, "$name: bridge has events api: ". ($hash->{has_events} ? 1 : 0);