Rouven Schürch
55f02c6595
[digitalstrom] Fix initialization of temperature control devices ( #16352 )
...
* Fix UnsupportedOperation thrown when adding an element to a fixed-size list. Fixes #10649
* removed static modifier on SUPPORTED_EVENTS and made the field a normal member
Signed-off-by: Rouven Schürch <r.schuerch@gmx.ch>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
2025-01-02 09:48:30 +02:00
Jacob Laursen
bf139b0ef2
Refactor java.util.Date usages to java.time.Instant ( #16239 )
...
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
2025-01-02 09:48:26 +02:00
Wouter Born
ef59934e9c
Use diamond operator and remove redundant type arguments ( #16249 )
...
Signed-off-by: Wouter Born <github@maindrain.net>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
2025-01-02 09:48:25 +02:00
Wouter Born
d1d6e817af
Remove redundant feature dependencies ( #16204 )
...
* Remove redundant feature dependencies
The following features are already dependencies of openhab-runtime-base:
* openhab-core-base
* openhab-core-model-item
* openhab-core-model-script
* openhab-transport-mdns
See also: https://github.com/openhab/openhab-addons/pull/16202#issuecomment-1876875456
* Remove redundant openhab.tp-jackson and openhab.tp-jaxb feature dependencies
Signed-off-by: Wouter Born <github@maindrain.net>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
2025-01-02 09:48:25 +02:00
Jacob Laursen
92145428df
Update license headers to 2024 ( #16168 )
...
* Update copyright year in configuration
* Update license headers
* Manually update nibeheatpump headers (.cpp/.h/.ino)
* Manually update smsmodem header
* Manually update hueemulation header
* Manually update addon-header.xml header
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
2025-01-02 09:48:23 +02:00
Mark Herwege
463cebcbdf
change mdns add-on discovery syntax ( #16060 )
...
Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2023-12-16 14:14:32 +01:00
Andrew Fiddian-Green
3814f37d9a
Make bindings discoverable on system startup ( #15817 )
...
* [discovery-methods] mDNS discovery methods
* [discovery-methods] UPnP discovery methods
---------
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2023-12-07 20:34:45 +01:00
Holger Friedrich
cbf4411034
Improve javadoc for all addons ( #15667 )
...
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-09-30 21:49:12 +02:00
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
Alexander Friese
f24f0f0251
[digitalstrom] Fix StringIndexOutOfBoundsException ( #15318 ) while keeping removal of StringUtils ( #15321 )
...
Signed-off-by: Alexander Friese <af944580@googlemail.com>
2023-07-29 11:17:58 +02:00
Jacob Laursen
5732cca7bb
Fix StringIndexOutOfBoundsException ( #15319 )
...
Fixes #15318
Reverts #14402
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-07-28 10:00:48 +02: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
Wouter Born
83cbe746d0
Remove redundant modifiers from interfaces ( #14843 )
...
Signed-off-by: Wouter Born <github@maindrain.net>
2023-04-18 13:07:04 +02:00
J-N-K
8e902f6324
Bump spotless to 2.35 and Eclipse Java Formatter to 4.26 ( #14645 )
...
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-03-21 21:03:05 +01:00
lsiepel
9a2bfcf0b8
[digitalstrom] code refactoring ( #14402 )
...
Signed-off-by: lsiepel <leosiepel@gmail.com>
2023-02-18 18:15:27 +01: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
Дилян Палаузов
0ffc5257d5
Typos a/an ( #13876 )
2022-12-08 21:12:49 +01:00
Дилян Палаузов
2a5d6beb64
Typos a/an ( #13846 )
2022-12-05 18:47:43 +01:00
Дилян Палаузов
6c1373f7c2
Typos a/an ( #13819 )
2022-12-02 13:07:31 +01:00
Дилян Палаузов
78534e8106
Typos a/an ( #13812 )
2022-12-01 14:30:50 +01:00
openhab-bot
921bd95af6
New Crowdin updates ( #12578 )
...
* New translations digitalstrom.properties (German)
* New translations pixometer.properties (German)
* New translations amazondashbutton.properties (German)
* New translations amazondashbutton.properties (Hungarian)
* New translations amazondashbutton.properties (Italian)
* New translations amazondashbutton.properties (Ukrainian)
2022-04-05 21:07:04 +02:00
lolodomo
36fcdb9dd4
Fix unexpected leading space in default translations ( #12574 )
...
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-04-04 21:48:54 +02:00
openhab-bot
cd1bf9c950
New Crowdin updates ( #12523 )
...
* New translations digitalstrom.properties (German)
* New translations dwdpollenflug.properties (German)
* New translations openweathermap.properties (French)
* New translations rotel.properties (French)
* New translations elroconnects.properties (French)
* New translations prowl.properties (French)
2022-03-27 23:15:52 +02:00
alexf2015
1ee5906fc7
[digitalstrom] Adoptions due to API changes in DSS Update 1.19.2 ( #12033 )
...
* added support for DSUID in DSS response data while being compatible to removed DSID which might still be in use due to older firmware versions.
* fixed a NPE and also fixed json parameter naming.
* applied improvements from DSUID class
* fixed variable name, made dsid member final, added author
Signed-off-by: Alexander Friese <af944580@googlemail.com>
2022-01-14 08:38:20 +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
Wouter Born
b097463d7e
Rename English i18n properties to follow Crowdin naming conventions ( #11709 )
...
This allows these files to be used for creating translations with Crowdin.
Signed-off-by: Wouter Born <github@maindrain.net>
2021-12-05 20:14:44 +01:00
Wouter Born
589400e223
Fix/suppress PMD CompareObjectsWithEquals findings ( #11476 )
...
Newer PMD versions discover more CompareObjectsWithEquals findings.
Related to https://github.com/openhab/static-code-analysis/pull/423
Signed-off-by: Wouter Born <github@maindrain.net>
2021-11-02 10:43:53 +01:00
Rouven Schürch
fbdecad174
Fixes #11054 : NoSuchElementException when no functional groups set ( #11434 )
...
Signed-off-by: Rouven Schürch <r.schuerch@gmx.ch>
2021-10-25 12:01:10 +02:00
Rouven Schürch
9f25507731
Fixes #10939 : Remove excessive log statements for unknown ApplicationGroups ( #11433 )
...
Signed-off-by: Rouven Schürch <r.schuerch@gmx.ch>
2021-10-24 21:35:23 +02:00
Wouter Born
798abaa4ca
Switch properties files encoding from ISO-8859-1 to UTF-8 ( #11349 )
...
* Switch properties files encoding from ISO-8859-1 to UTF-8
Crowdin will generate translations in this encoding, so this prevents a lot of diffs which makes it easier to review future Crowdin PRs.
Related to openhab/openhab-core#2298
Signed-off-by: Wouter Born <github@maindrain.net>
2021-10-09 19:56:49 +02:00
lolodomo
82ee00df1b
[digitalstrom] Standardize config URI ( #11017 )
...
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-07-18 09:14:19 +02:00
Wouter Born
39c4cd0a4d
Fix build ( #10892 )
...
Caused by https://github.com/openhab/openhab-addons/pull/10890
Signed-off-by: Wouter Born <github@maindrain.net>
2021-06-21 11:50:14 +02:00
Puzzlr
cd8aa5d604
Added missing </li> attributes in last comment section ( #10890 )
2021-06-21 08:48:48 +02:00
ardanedh
4dbb449a14
[digitalSTROM] Shade angle support for GR things ( #10444 )
...
Signed-off-by: Rouven Schürch <r.schuerch@gmx.ch>
2021-05-01 14:20:46 +02:00
Wouter Born
e6d8dfb7e1
Reduce dependency on commons-io and commons-codec ( #10614 )
...
Signed-off-by: Wouter Born <github@maindrain.net>
2021-04-30 16:53:44 +02:00
lolodomo
17091e7141
[digitalstrom] Fix deprecated tag "required" ( #10364 )
...
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-03-21 16:41:35 +01:00
Wouter Born
fe0c35d22f
Fix Java and Jetty deprecations ( #10349 )
...
Signed-off-by: Wouter Born <github@maindrain.net>
2021-03-19 10:40:14 +01:00
Wouter Born
580f293766
Resolve itest runbundles for Gson and Commons Lang upgrades and fix JsonParser deprecations ( #10345 )
...
* Resolve itest runbundles for Gson and Commons Lang upgrades
* Fix JsonParser deprecations too
* Fix feature verification
Signed-off-by: Wouter Born <github@maindrain.net>
2021-03-18 12:15:15 +01: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
J-N-K
cc70f5609a
[digitalstrom] fix concurrency issue ( #9834 )
...
* fix concurrency issue
* address review comments
* address review comment
Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2021-01-15 14:48:48 -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
Wouter Born
8f53e320dc
Fix StateDescription deprecations ( #9352 )
...
Related to #1408
Signed-off-by: Wouter Born <github@maindrain.net>
2020-12-13 08:53:16 +01:00
Wouter Born
d2e5c3e7dd
Remove SmartHome leftovers ( #9283 )
...
Signed-off-by: Wouter Born <github@maindrain.net>
2020-12-08 18:03:49 +01:00
J-N-K
beacec311e
[digitalstrom] remove unnecessary call to bridgeStatusChanged ( #9263 )
...
Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2020-12-07 12:35:35 -08:00
Gaétan Collaud
f9866b2c77
[digitalstrom] fixes StringIndexOutOfBoundsException ( #9194 )
...
* [digitalstrom] catch issues when adding devices
Signed-off-by: Gaétan Collaud <gaetancollaud@gmail.com>
* Update bundles/org.openhab.binding.digitalstrom/src/main/java/org/openhab/binding/digitalstrom/internal/discovery/DiscoveryServiceManager.java
Signed-off-by: Gaétan Collaud <gaetancollaud@gmail.com>
2020-12-04 16:06:59 -08:00
J-N-K
33faa51d7c
[digitalstrom] fix ClassCastException ( #9214 )
...
* fix ClassCastException
* fix spotless
Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2020-12-03 17:20:43 -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