fix
This commit is contained in:
parent
b0a0d8fa99
commit
fee3cf2d00
@ -1,2 +1,2 @@
|
||||
UPD 2022-03-13_07:23:31 18968 FHEM/82_LGTV_WebOS.pm
|
||||
UPD 2022-03-13_07:23:19 54336 lib/FHEM/Devices/LGTV/LGTVWebOS.pm
|
||||
UPD 2022-03-13_11:13:55 18968 FHEM/82_LGTV_WebOS.pm
|
||||
UPD 2022-03-13_11:13:52 54282 lib/FHEM/Devices/LGTV/LGTVWebOS.pm
|
||||
|
@ -361,7 +361,7 @@ sub TimerStatusRequest {
|
||||
|
||||
}
|
||||
else {
|
||||
::readingsSingleUpdate( $hash, 'state', 'off', 1 )
|
||||
::readingsBulkUpdateIfChanged( $hash, 'state', 'off' )
|
||||
if ( ::ReadingsVal( $name, 'state', 'off' ) ne 'off' );
|
||||
|
||||
Presence($hash)
|
||||
@ -1288,8 +1288,7 @@ sub WriteReadings {
|
||||
if ( exists( $decode_json->{payload}{'channelName'} ) );
|
||||
::readingsBulkUpdateIfChanged( $hash, 'channelMedia',
|
||||
$decode_json->{payload}{'channelTypeName'} )
|
||||
if ( exists( $decode_json->{payload}{'channelTypeName'} )
|
||||
&& $decode_json->{payload}{'channelTypeName'} );
|
||||
if ( exists( $decode_json->{payload}{'channelTypeName'} ) );
|
||||
|
||||
}
|
||||
else {
|
||||
|
Loading…
Reference in New Issue
Block a user