mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 06:39:11 +00:00
74_GardenaSmartDevice: setter from mower not visible
git-svn-id: https://svn.fhem.de/fhem/trunk@21812 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
40d2e22715
commit
6fdb771cd3
@ -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: setter from mower not visible
|
||||
- bugfix: 74_GardenaSmartDevice: fix watering_computer state
|
||||
- feature: 77_UWZ: add disableForIntervals, fix searchAreaID Fn and bugfix
|
||||
- feature: 98_RandomTimer: Add disabledForIntervals attribute
|
||||
|
@ -379,6 +379,10 @@ sub Set {
|
||||
|
||||
my $list = '';
|
||||
|
||||
$list .=
|
||||
'parkUntilFurtherNotice:noArg parkUntilNextTimer:noArg startResumeSchedule:noArg startOverrideTimer:slider,0,1,60 startpoint'
|
||||
if ( AttrVal( $name, 'model', 'unknown' ) eq 'mower' );
|
||||
|
||||
$list .= 'manualOverride:slider,1,1,59 cancelOverride:noArg'
|
||||
if ( AttrVal( $name, 'model', 'unknown' ) eq 'watering_computer' );
|
||||
|
||||
@ -606,8 +610,12 @@ sub WriteReadings {
|
||||
readingsBulkUpdate(
|
||||
$hash, 'state',
|
||||
(
|
||||
(ReadingsVal( $name, 'watering-watering_timer_1_state', 'open' ) eq 'open'
|
||||
|| ReadingsVal( $name, 'watering-watering_timer_1_state', 'offen' ) eq 'offen')
|
||||
(
|
||||
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' )
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user