mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 06:39:11 +00:00
74_GardenaSmartDevice: fix watering_computer state
git-svn-id: https://svn.fhem.de/fhem/trunk@21808 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
edb1d592a3
commit
1c1fd35f5a
@ -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
|
||||
|
@ -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 <leongaultier@gmail.com>"
|
||||
],
|
||||
|
Loading…
Reference in New Issue
Block a user