Holger Friedrich
cf10b3e9c7
Java 17 features (A-G) ( #15516 )
...
- add missing @override
- Java style array syntax
- remove redundant modifiers
- always move String constants to left side in comparisons
- simplify lambda expressions and return statements
- use replace instead of replaceAll w/o regex
- instanceof matching and multiline strings
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-09-05 22:30:16 +02:00
Kai Kreuzer
72607d3bee
Apply spotless
...
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2023-07-24 01:20:31 +02:00
openhab-bot
809fceaff3
[unleash-maven-plugin] Preparation for next development cycle.
2023-07-23 19:19:01 +00:00
mlobstein
36b2dbfbc9
Declare connection for bindings A thru F ( #14901 )
...
* Declare connection for bindings A-F
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2023-04-29 10:10:19 +02:00
J-N-K
89d0689e36
fix i18n for bindings ( #14235 )
...
Also-By: Jacob Laursen <jacob-github@vindvejr.dk>
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-01-21 12:14:51 +01:00
J-N-K
5f8214f08a
Adapt to core changes (addon.xml) ( #13289 )
...
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-01-15 20:31:42 +01:00
Holger Friedrich
4e44de3894
Fix SAT warnings ( #14202 )
...
* Fix SAT warnings
- checkstyle.ModifierOrderCheck
- checkstyle.OneStatementPerLineCheck
- checkstyle.NeedBracesCheck
- PMD.UseStandardCharsets
- PMD.UseCollectionIsEmpty
- PMD.UnusedLocalVariable
- PMD.SimplifyBooleanReturns where reasonable, suppress where
readability is better without change
- PMD.SimplifyBooleanExpressions
* Include StandardCharsets
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-01-13 08:11:06 +01:00
Jacob Laursen
4dd6d3a8a2
Update license headers to 2023 ( #14154 )
...
* Update copyright year in configuration
* Update license headers
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-01-06 09:49:54 +01:00
J-N-K
4d6d6443ef
fix spotless after release ( #14014 )
...
Signed-off-by: Jan N. Klug <github@klug.nrw>
2022-12-19 15:22:17 +01:00
openhab-bot
7993786dc9
[unleash-maven-plugin] Preparation for next development cycle.
2022-12-19 00:55:11 +00:00
Jerome Luckenbach
0e68936663
[Documentation] Markdown improvements f to m ( #13866 )
...
Signed-off-by: Jerome Luckenbach <github@luckenba.ch>
2022-12-08 21:36:05 +01:00
Дилян Палаузов
0ffc5257d5
Typos a/an ( #13876 )
2022-12-08 21:12:49 +01:00
Kai Kreuzer
440f603e88
Apply spotless and resolver ( #13027 )
...
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2022-06-27 16:00:37 +02:00
openhab-bot
ed4858ebbb
[unleash-maven-plugin] Preparation for next development cycle.
2022-06-26 18:18:40 +00:00
jimtng
25d9315197
[fronius] Add additional Inverter DC channels ( #12867 )
...
* [fronius] Add additional Inverter DC channels
* [fronius] Update channel description and translations
* [fronius] Add calculated DC Power channels
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2022-06-07 08:11:06 +02:00
jimtng
c5b6ce97bb
[fronius] Add Autonomy and Self Consumption channels ( #12420 )
...
* Add Autonomy and Self Consumption channels
* Change Inverter channels from DecimalType to QuantityType
* Convert ValueUnit to QuantityType, honour the unit from ValueUnit
* Replace custom unit converter with QuantityType's unit conversion
* Return QuantityType of zero for missing ValueUnit data, to be consistent with P_AC.
* Return UnDefType.NULL for other missing data
* De-duplicate URL parsing routine
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2022-03-27 19:10:24 +02:00
jimtng
eb9bde9fe8
[fronius] Add a note about enabling Night Mode on the device ( #12463 )
...
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2022-03-12 14:51:04 +01:00
jimtng
e6179aafa2
[fronius] Add the new channels to the documentation ( #12394 )
...
* [fronius] Document the recently added inverter power and soc channels
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2022-03-05 10:43:31 +01:00
jimtng
2cce90f83d
[fronius] Fix DecimalType constructor change ( #12371 )
...
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2022-03-03 18:49:49 +01:00
jimtng
baa9aacf50
[fronius] Fix communication errors by retrying failed http requests ( #12255 )
...
* [fronius] Fix communication errors by retrying failed http requests
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2022-02-15 23:50:37 +01:00
jimtng
a0236bf993
[fronius] Add support for Fronius Smart Meter 65A ( #12258 )
...
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2022-02-10 18:54:01 +01:00
Hannes Spenger
ac32260f22
[fronius] Added Ohmpilot thing and channel realpowersum for thing meter ( #11835 )
...
* Added support for fronius ohmpilot and added smart meter power sum.
Signed-off-by: urmet0 <hannes.spenger@gmail.com>
2022-02-09 00:02:40 +01:00
Hilbrand Bouwkamp
da59cdd255
Update license headers to 2022 ( #11973 )
...
Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
2022-01-06 18:14:47 +01:00
Marcel
cc47ef7f3e
pom update from http to https reference ( #11833 )
...
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-12-23 19:40:44 +01:00
Kai Kreuzer
48746f5e3f
Apply spotless
...
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2021-12-20 09:07:55 +01:00
openhab-bot
6dc031e6cf
[unleash-maven-plugin] Preparation for next development cycle.
2021-12-20 00:30:46 +00:00
Wouter Born
07a1976c81
Add default translations for binding add-ons ( #11760 )
...
* Add default translations for binding add-ons
This makes the texts used by these add-ons translatable with Crowdin.
To keep the PR simple, it only adds default translations for add-ons which do not yet have any default translations properties file.
We can do follow up PRs for adding missing key/values to add-ons that already have these files or to remove duplications.
There are several add-ons in this PR that do have non-English translation files, so I'll upload those to Crowdin when the PR is merged.
Signed-off-by: Wouter Born <github@maindrain.net>
2021-12-15 18:40:21 +01:00
ThomasK
1e8be24fce
[fronius] Added inverter power, battery state of charge and PV solar yield ( #10757 )
...
* [fronius] add battery state of charge and PV yield.
Signed-off-by: THKDev <THKDev@users.noreply.github.com>
* [fronius] Actually constants should be all upper case. Words in labels should be capitalized (except prepositions and so on). Use %unit% placeholder.
Signed-off-by: THKDev <THKDev@users.noreply.github.com>
* [fronius] fixed checkstyle error; removed some warnings (eg. StringUtils)
Signed-off-by: THKDev <THKDev@users.noreply.github.com>
* Revert "[fronius] fixed checkstyle error; removed some warnings (eg. StringUtils)"
This reverts commit 73065c65
Signed-off-by: THKDev <THKDev@users.noreply.github.com>
* [fronius] fixed checkstyle error
Signed-off-by: THKDev <THKDev@users.noreply.github.com>
* [fronius] removed org.apache.commons.lang3.StringUtils
Signed-off-by: THKDev <THKDev@users.noreply.github.com>
2021-07-11 09:38:45 +02:00
Kai Kreuzer
bebab9ce29
applied spotless
...
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2021-06-27 23:25:35 +02:00
jenkins
8c5c81e256
[unleash-maven-plugin] Preparation for next development cycle.
2021-06-27 17:35:01 +00:00
Wouter Born
f3503430b4
Rework more commons-lang usages ( #10314 )
...
* Reworks many commons-lang usages to use standard Java
* Updates all remaining commons.lang imports to commons.lang3
Related to openhab/openhab-addons#7722
Signed-off-by: Wouter Born <github@maindrain.net>
2021-03-16 12:38:16 +01:00
jimtng
4fba096057
[fronius] fix invalid json error on meter data ( #9912 )
...
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2021-01-24 12:05:15 -08:00
Wouter Born
d6364aceb1
Update license headers to 2021 ( #9620 )
...
Signed-off-by: Wouter Born <github@maindrain.net>
2021-01-02 22:03:14 +01:00
jimtng
fe5e9b85e8
[fronius] Add support for Fronius Smart Meter ( #9209 )
...
* [fronius] Add support for Fronius Smart Meter
* [fronius] Use DTO, implement UoM
* [fronius] fix README.md
* [fronius] Add mandatory label for channel-type and fix property update
* [fronius] Store meterRealtimeBodyData instead of meterRealtimeResponse
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2020-12-28 09:24:10 -08:00
Wouter Born
ecac667258
Apply Spotless, update skeleton project version, resolve itest runbundles ( #9459 )
...
Signed-off-by: Wouter Born <github@maindrain.net>
2020-12-22 10:37:44 +01:00
jenkins
e4554f4aa6
[unleash-maven-plugin] Preparation for next development cycle.
2020-12-21 10:36:42 +00:00
J-N-K
d0480d0f2e
[fronius] Fix thing definition ( #9255 )
...
Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2020-12-06 22:20:23 -08:00
jimtng
fd7aa9f9c1
[fronius] Fix connection check with Gen24 inverters ( #9108 )
...
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2020-11-23 20:01:00 -08:00
Kai Kreuzer
007c3b56e5
removed deprecated author information from binding.xml ( #9113 )
...
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2020-11-23 19:06:33 -08:00
jimtng
ae7d5715ee
[fronius] [fronius] Accept null value as zero for inverterdatachannelpac channel ( #9077 )
...
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2020-11-20 19:23:11 -08:00
Wouter Born
7f39d01a0f
Remove/ignore Eclipse project files ( #8529 )
...
Fixes #8451
Signed-off-by: Wouter Born <github@maindrain.net>
2020-09-21 22:50:37 +02:00
Kai Kreuzer
6df6783b60
added migrated 2.x add-ons
...
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2020-09-21 03:37:19 +02:00