mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-12 02:39:57 +00:00
76_SolarForecast: contrib 1.49.5
git-svn-id: https://svn.fhem.de/fhem/trunk@29811 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
c8ab9192fa
commit
eb0ff19d68
@ -6339,7 +6339,7 @@ sub _attrplantControl { ## no critic "not used"
|
|||||||
consForecastLastDays => { comp => '([1-9]|[1-9][0-9]|1[0-7][0-9]|180)', act => 0 },
|
consForecastLastDays => { comp => '([1-9]|[1-9][0-9]|1[0-7][0-9]|180)', act => 0 },
|
||||||
consForecastInPlanning => { comp => '(0|1)', act => 0 },
|
consForecastInPlanning => { comp => '(0|1)', act => 0 },
|
||||||
feedinPowerLimit => { comp => '\d+', act => 0 },
|
feedinPowerLimit => { comp => '\d+', act => 0 },
|
||||||
interval => { comp => '\d+', act => 1 },
|
cycleInterval => { comp => '\d+', act => 1 },
|
||||||
showLink => { comp => '(0|1)', act => 0 },
|
showLink => { comp => '(0|1)', act => 0 },
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -6905,7 +6905,7 @@ sub __attrKeyAction {
|
|||||||
my $hash = $defs{$name};
|
my $hash = $defs{$name};
|
||||||
|
|
||||||
if ($cmd eq 'set') {
|
if ($cmd eq 'set') {
|
||||||
if ($init_done && $akey eq 'interval') {
|
if ($init_done && $akey eq 'cycleInterval') {
|
||||||
_newCycTime ($hash, time, $keyval);
|
_newCycTime ($hash, time, $keyval);
|
||||||
my $nct = CurrentVal ($name, 'nextCycleTime', 0); # gespeicherte nächste CyleTime
|
my $nct = CurrentVal ($name, 'nextCycleTime', 0); # gespeicherte nächste CyleTime
|
||||||
readingsSingleUpdate ($hash, 'nextCycletime', (!$nct ? 'Manual / Event-controlled' : FmtTime($nct)), 0);
|
readingsSingleUpdate ($hash, 'nextCycletime', (!$nct ? 'Manual / Event-controlled' : FmtTime($nct)), 0);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user