mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 06:39:11 +00:00
70_BOTVAC.pm: fixed channel presets, fixed use of ReadingsAge
git-svn-id: https://svn.fhem.de/fhem/trunk@19086 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
7cb4eaf104
commit
161f0c1f53
@ -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: 70_BRAVIA: fix channel presets, fix use of ReadingsAge
|
||||
- change: 93_DbRep: consideration of leap year/daylight saving time changed,
|
||||
activate support of Meta.pm
|
||||
- change: 74_AMADDevice: change to perl packages, add Meta and Installer
|
||||
|
@ -85,6 +85,7 @@ BEGIN {
|
||||
readingsBeginUpdate
|
||||
readingsDelete
|
||||
readingsEndUpdate
|
||||
ReadingsAge
|
||||
ReadingsNum
|
||||
ReadingsTimestamp
|
||||
ReadingsVal
|
||||
@ -1470,7 +1471,7 @@ sub ProcessCommandData ($$$) {
|
||||
if (ReadingsVal($name, "requestFormat", "") eq "json"
|
||||
&& (!defined($hash->{helper}{device}{channelPreset}) || ReadingsVal($name, "state", "") ne "on"));
|
||||
$hash->{helper}{device}{channelPreset}{ $channelNo }{id} = $channelNo;
|
||||
$hash->{helper}{device}{channelPreset}{ $channelNo }{name} = $channelName;
|
||||
$hash->{helper}{device}{channelPreset}{ $channelNo }{name} = GetNormalizedName($channelName);
|
||||
}
|
||||
|
||||
# get current system settings
|
||||
|
Loading…
Reference in New Issue
Block a user