2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-03 16:56:54 +00:00

74_AutomowerConnect: Common.pm set state when disabledForIntervalls as 'temporarily disabled'

git-svn-id: https://svn.fhem.de/fhem/trunk@27789 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
Ellert 2023-07-21 12:42:51 +00:00
parent ef8d164307
commit 8860f8efbc

View File

@ -632,6 +632,7 @@ sub APIAuth {
if( IsDisabled( $name ) ) {
readingsSingleUpdate( $hash, 'device_state', 'temporarily disabled', 1 ) if ( ReadingsVal( $name, 'device_state', '' ) !~ /disabled/ );
RemoveInternalTimer( $hash );
InternalTimer( gettimeofday() + $hash->{helper}{retry_interval_apiauth}, \&APIAuth, $hash, 0 );
return undef;