Merge pull request 'patch-uninitializedValue' (#7) from patch-uninitializedValue into dev

Reviewed-on: #7
This commit is contained in:
Marko Oldenburg 2022-03-13 11:15:55 +01:00
commit cc1be20f40
3 changed files with 4 additions and 4 deletions

View File

@ -368,7 +368,7 @@ __END__
],
"release_status": "stable",
"license": "GPL_2",
"version": "v3.6.1",
"version": "v3.6.2",
"author": [
"Marko Oldenburg <fhemdevelopment@cooltux.net>"
],

View File

@ -1,2 +1,2 @@
UPD 2022-03-10_09:40:57 18968 FHEM/82_LGTV_WebOS.pm
UPD 2022-03-10_09:28:02 54278 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

View File

@ -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)