2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-10 09:16:53 +00:00

76_SolarForecast: currentMeterDev: opt. keys conprice, feedprice + SMUtils adjusted

git-svn-id: https://svn.fhem.de/fhem/trunk@28667 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
nasseeder1 2024-03-16 14:03:19 +00:00
parent f800676c3d
commit 9fac130276

View File

@ -3,7 +3,7 @@
######################################################################################################################### #########################################################################################################################
# SMUtils.pm # SMUtils.pm
# #
# (c) 2020-2023 by Heiko Maaz # (c) 2020-2024 by Heiko Maaz
# e-mail: Heiko dot Maaz at t-online dot de # e-mail: Heiko dot Maaz at t-online dot de
# #
# This Module provides routines for FHEM modules developed for Synology use cases. # This Module provides routines for FHEM modules developed for Synology use cases.
@ -26,6 +26,7 @@
######################################################################################################################### #########################################################################################################################
# Version History # Version History
# 1.27.2 16.03.2024 change checkModVer text output
# 1.27.1 04.12.2023 change checkModVer # 1.27.1 04.12.2023 change checkModVer
# 1.27.0 03.12.2023 new function checkModVer # 1.27.0 03.12.2023 new function checkModVer
# 1.26.0 08.04.2023 add postid to _addSendqueueExtended # 1.26.0 08.04.2023 add postid to _addSendqueueExtended
@ -58,7 +59,7 @@ use FHEM::SynoModules::ErrCodes qw(:all); # Erro
use GPUtils qw( GP_Import GP_Export ); use GPUtils qw( GP_Import GP_Export );
use Carp qw(croak carp); use Carp qw(croak carp);
use version 0.77; our $VERSION = version->declare('1.27.1'); use version 0.77; our $VERSION = version->declare('1.27.2');
use Exporter ('import'); use Exporter ('import');
our @EXPORT_OK = qw( our @EXPORT_OK = qw(
@ -2075,7 +2076,7 @@ sub checkModVer {
} }
if (!$fileOk) { if (!$fileOk) {
$msg = "A new $fName version is available on SVN (creation time: $r[1], size: $r[2] Bytes)."; $msg = "Another official $fName version is available on SVN (creation time: $r[1], size: $r[2] Bytes).";
$rec = "You should update FHEM to get the recent $fName version from Repository."; $rec = "You should update FHEM to get the recent $fName version from Repository.";
return (0, 1, $msg, $rec, $fName, $r[2]); return (0, 1, $msg, $rec, $fName, $r[2]);
} }