From bb1454f03fe0166141e6f228c1fb87369c56ee19 Mon Sep 17 00:00:00 2001 From: dominikkarall Date: Sat, 6 Jul 2019 15:40:08 +0000 Subject: [PATCH] 39_gassistant: update reading directly after start git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@19789 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- FHEM/39_gassistant.pm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/FHEM/39_gassistant.pm b/FHEM/39_gassistant.pm index e55c97594..3449065c3 100755 --- a/FHEM/39_gassistant.pm +++ b/FHEM/39_gassistant.pm @@ -572,6 +572,9 @@ gassistant_Set($$@) return undef; } elsif( $cmd eq 'start' || $cmd eq 'stop' || $cmd eq 'restart' ) { 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 ); }