testing #80
2
CHANGED
2
CHANGED
@ -1 +1 @@
|
|||||||
[alpa] extendetState: fix irrigatiopn time stuff
|
[alpha] extemdedState - fix state
|
||||||
|
@ -757,12 +757,9 @@ sub WriteReadings {
|
|||||||
. $propertie->{name}
|
. $propertie->{name}
|
||||||
. '_irrigation_left',
|
. '_irrigation_left',
|
||||||
sprintf("%.f" ,
|
sprintf("%.f" ,
|
||||||
|
|
||||||
Time::Piece::localtime->strptime(
|
Time::Piece::localtime->strptime(
|
||||||
RigReadingsValue(
|
$decode_json->{abilities}[$abilities]{timestamp}, "%Y-%m-%d %H:%M:%S")
|
||||||
$hash,
|
+ ($propertie->{value}{duration} + 3 ) - Time::Piece::localtime->new )
|
||||||
$decode_json->{abilities}[$abilities]{timestamp}),
|
|
||||||
"%Y-%m-%d %H:%M:%S") +($propertie->{value}{duration} + 3 ) - Time::Piece::localtime->new )
|
|
||||||
)
|
)
|
||||||
if ( defined( $propertie->{value} )
|
if ( defined( $propertie->{value} )
|
||||||
&& $decode_json->{abilities}[$abilities]{name} eq 'watering'
|
&& $decode_json->{abilities}[$abilities]{name} eq 'watering'
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
UPD 2022-06-21_08:17:57 49520 FHEM/73_GardenaSmartBridge.pm
|
UPD 2022-06-21_08:17:57 49520 FHEM/73_GardenaSmartBridge.pm
|
||||||
UPD 2022-06-23_11:45:43 70331 FHEM/74_GardenaSmartDevice.pm
|
UPD 2022-06-23_12:08:11 70232 FHEM/74_GardenaSmartDevice.pm
|
||||||
|
Loading…
x
Reference in New Issue
Block a user