diff --git a/fhem/CHANGED b/fhem/CHANGED index 5c5f5b374..823be4379 100644 --- a/fhem/CHANGED +++ b/fhem/CHANGED @@ -1,5 +1,6 @@ # 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. + - bugfix: 74_GardenaSmartDevice: fix watering_computer state - feature: 77_UWZ: add disableForIntervals, fix searchAreaID Fn and bugfix - feature: 98_RandomTimer: Add disabledForIntervals attribute and active/inactive setters diff --git a/fhem/FHEM/74_GardenaSmartDevice.pm b/fhem/FHEM/74_GardenaSmartDevice.pm index e79507c58..a5c962088 100644 --- a/fhem/FHEM/74_GardenaSmartDevice.pm +++ b/fhem/FHEM/74_GardenaSmartDevice.pm @@ -606,9 +606,10 @@ sub WriteReadings { readingsBulkUpdate( $hash, 'state', ( - ReadingsVal( $name, 'watering-watering_timer_1_state', 'idle' ) eq 'idle' - ? RigReadingsValue( $hash, 'closed' ) - : RigReadingsValue( $hash, 'open' ) + (ReadingsVal( $name, 'watering-watering_timer_1_state', 'open' ) eq 'open' + || ReadingsVal( $name, 'watering-watering_timer_1_state', 'offen' ) eq 'offen') + ? RigReadingsValue( $hash, 'open' ) + : RigReadingsValue( $hash, 'closed' ) ) ) if ( AttrVal( $name, 'model', 'unknown' ) eq 'watering_computer' ); @@ -1207,7 +1208,7 @@ sub SetPredefinedStartPoints { ], "release_status": "stable", "license": "GPL_2", - "version": "v2.0.0", + "version": "v2.0.1", "author": [ "Marko Oldenburg " ],