mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-01 20:20:10 +00:00
39_gassistant: update reading directly after start
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@19789 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
e4d8a045ec
commit
bb1454f03f
@ -572,6 +572,9 @@ gassistant_Set($$@)
|
|||||||
return undef;
|
return undef;
|
||||||
} elsif( $cmd eq 'start' || $cmd eq 'stop' || $cmd eq 'restart' ) {
|
} elsif( $cmd eq 'start' || $cmd eq 'stop' || $cmd eq 'restart' ) {
|
||||||
setKeyValue('gassistantFHEM.loginURL', '' );
|
setKeyValue('gassistantFHEM.loginURL', '' );
|
||||||
|
if ($cmd eq 'start') {
|
||||||
|
readingsSingleUpdate($hash, 'gassistant-fhem-connection', 'starting...', 1 );
|
||||||
|
}
|
||||||
readingsSingleUpdate($hash, 'gassistantFHEM.loginURL', 'Waiting for login url from gassistant-fhem', 1 );
|
readingsSingleUpdate($hash, 'gassistantFHEM.loginURL', 'Waiting for login url from gassistant-fhem', 1 );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user