From b8df4ca490c080982c29454d0a2e51d405be82cb Mon Sep 17 00:00:00 2001 From: Beta-User <> Date: Thu, 10 Jun 2021 05:03:49 +0000 Subject: [PATCH] 59_Twilight: light and state wrong after ss-weather event? git-svn-id: https://svn.fhem.de/fhem/trunk@24606 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/59_Twilight.pm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/fhem/FHEM/59_Twilight.pm b/fhem/FHEM/59_Twilight.pm index ff74c5ad9..68203c3fb 100644 --- a/fhem/FHEM/59_Twilight.pm +++ b/fhem/FHEM/59_Twilight.pm @@ -355,8 +355,10 @@ sub Twilight_HandleWeatherData { readingsBulkUpdate( $hash, 'nextEvent', 'ss_indoor' ) ; readingsBulkUpdate( $hash, 'nextEventTime', FmtTime( $hash->{TW}{ss_indoor}{TIME} ) ) ; readingsBulkUpdate( $hash, 'aktEvent', 'ss_weather' ); - readingsBulkUpdate( $hash, 'state', '8' ); - readingsBulkUpdate( $hash, 'light', '4' ); + #readingsBulkUpdate( $hash, 'state', '8' ); + #readingsBulkUpdate( $hash, 'light', '4' ); + readingsBulkUpdate( $hash, 'state', '7' ); + readingsBulkUpdate( $hash, 'light', '5' ); } }