1
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-05-04 22:19:38 +00:00

82_LGTV_WebOS: fix little typos and change version

git-svn-id: https://svn.fhem.de/fhem/trunk@27575 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
LeonGaultier 2023-05-16 02:31:41 +00:00
parent 6e181a9cf2
commit 351a63e19c
3 changed files with 17 additions and 11 deletions

View File

@ -1,5 +1,6 @@
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide.
# Do not insert empty lines here, update check depends on it.
- bugfix: 82_LGTV_WebOS: fix little typos and change version
- change: 93_DBLog: changed default splitting, Forum: #133537
- feature: AutomowerConnectFamily: set cutting height for user defined zones
automatically, code cleaning, some fixes

View File

@ -2,7 +2,7 @@
#
# Developed with VSCodium and richterger perl plugin.
#
# (c) 2017-2022 Copyright: Marko Oldenburg (fhemdevelopment at cooltux dot net)
# (c) 2017-2023 Copyright: Marko Oldenburg (fhemdevelopment at cooltux dot net)
# All rights reserved
#
# Special thanks goes to comitters:
@ -368,7 +368,7 @@ __END__
],
"release_status": "stable",
"license": "GPL_2",
"version": "v3.6.5",
"version": "v3.6.9",
"author": [
"Marko Oldenburg <fhemdevelopment@cooltux.net>"
],

View File

@ -2,7 +2,7 @@
#
# Developed with VSCodium and richterger perl plugin.
#
# (c) 2017-2022 Copyright: Marko Oldenburg (fhemdevelopment at cooltux dot net)
# (c) 2017-2023 Copyright: Marko Oldenburg (fhemdevelopment at cooltux dot net)
# All rights reserved
#
# Special thanks goes to comitters:
@ -363,6 +363,8 @@ sub TimerStatusRequest {
else {
::readingsBulkUpdateIfChanged( $hash, 'state', 'off' )
if ( ::ReadingsVal( $name, 'state', 'off' ) ne 'off' );
::readingsBulkUpdateIfChanged( $hash, 'power', 'off' )
if ( ::ReadingsVal( $name, 'power', 'off' ) ne 'off' );
Presence($hash)
if ( ::AttrVal( $name, 'pingPresence', 0 ) == 1 );
@ -686,6 +688,7 @@ sub Close {
delete( $hash->{FD} );
::readingsSingleUpdate( $hash, 'state', 'off', 1 );
::readingsSingleUpdate( $hash, 'power', 'off', 1 );
::Log3( $name, 4, "LGTV_WebOS ($name) - Socket Disconnected" );
@ -962,6 +965,7 @@ sub ResponseProcessing {
"LGTV_WebOS ($name) - Sucessfull WS connection to $hash->{HOST}"
);
::readingsSingleUpdate( $hash, 'state', 'on', 1 );
::readingsSingleUpdate( $hash, 'power', 'on', 1 );
}
else {
@ -1342,6 +1346,7 @@ sub WriteReadings {
}
::readingsBulkUpdateIfChanged( $hash, 'state', 'on' );
::readingsBulkUpdateIfChanged( $hash, 'power', 'on' );
::readingsEndUpdate( $hash, 1 );