mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 12:49:34 +00:00
73_GardenaSmartBridge: change state value to Connected
git-svn-id: https://svn.fhem.de/fhem/trunk@21755 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
283d9e0075
commit
7978575888
@ -1,5 +1,6 @@
|
|||||||
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide.
|
# 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.
|
# Do not insert empty lines here, update check depends on it.
|
||||||
|
- change: 73_GardenaSmartBridge: change state value to Connected
|
||||||
- change: 37_echodevice.pm more loginformations set "NPM_login refresh"
|
- change: 37_echodevice.pm more loginformations set "NPM_login refresh"
|
||||||
- bugfix: 88_HMCCU: Fixed bug in RPC callback URL creation.
|
- bugfix: 88_HMCCU: Fixed bug in RPC callback URL creation.
|
||||||
- bugfix: OpenWeatherMapAPI: fix Use of uninitialized value in sprintf
|
- bugfix: OpenWeatherMapAPI: fix Use of uninitialized value in sprintf
|
||||||
|
@ -63,7 +63,7 @@ use POSIX;
|
|||||||
use FHEM::Meta;
|
use FHEM::Meta;
|
||||||
|
|
||||||
use HttpUtils;
|
use HttpUtils;
|
||||||
our $VERSION = '1.6.8';
|
our $VERSION = '1.6.9';
|
||||||
|
|
||||||
my $missingModul = '';
|
my $missingModul = '';
|
||||||
eval "use Encode qw(encode encode_utf8 decode_utf8);1"
|
eval "use Encode qw(encode encode_utf8 decode_utf8);1"
|
||||||
@ -395,7 +395,7 @@ sub Notify($$) {
|
|||||||
if (
|
if (
|
||||||
$devtype eq 'GardenaSmartBridge'
|
$devtype eq 'GardenaSmartBridge'
|
||||||
and (
|
and (
|
||||||
grep /^state:.connected.to.cloud$/,
|
grep /^state:.Connected$/,
|
||||||
@{$events} or grep /^lastRequestState:.request_error$/,
|
@{$events} or grep /^lastRequestState:.request_error$/,
|
||||||
@{$events}
|
@{$events}
|
||||||
)
|
)
|
||||||
@ -697,7 +697,7 @@ sub ErrorHandling($$$) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
readingsSingleUpdate( $hash, 'state', 'connected to cloud', 1 )
|
readingsSingleUpdate( $hash, 'state', 'Connected', 1 )
|
||||||
if ( defined( $hash->{helper}{locations_id} ) );
|
if ( defined( $hash->{helper}{locations_id} ) );
|
||||||
ResponseProcessing( $hash, $data )
|
ResponseProcessing( $hash, $data )
|
||||||
if ( ref($decode_json) eq 'HASH' );
|
if ( ref($decode_json) eq 'HASH' );
|
||||||
|
Loading…
Reference in New Issue
Block a user