Wouter Born
8672ed0208
Start license headers with /*
instead of /**
( #18061 )
...
Prevents JavaDoc tooling issues because these tools check comments starting with `/**`.
Signed-off-by: Wouter Born <github@maindrain.net>
2025-01-07 22:33:03 +01:00
Wouter Born
d6476042ec
Update license headers to 2025 ( #18015 )
...
* Update license headers to 2025
Signed-off-by: Wouter Born <github@maindrain.net>
2025-01-02 00:30:12 +01:00
Jacob Laursen
fb7ba1feb1
Simplify DateTimeType handling for Hydrawise
...
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2024-12-19 11:56:36 +01:00
Dan Cunningham
f9c40fff8b
[hydrawise] Various Fixes ( #17345 )
...
* Workaround for a bad response from the Hydrawise API
Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2024-08-29 00:50:26 +02:00
Dan Cunningham
1abc35e134
Small fix when retying token ( #16280 )
...
Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2024-01-14 21:13:24 +01:00
Jacob Laursen
daea030c11
Refactor java.util.Date usages to java.time.Instant ( #16239 )
...
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2024-01-13 17:12:49 +01:00
Wouter Born
a2868bb0dc
Use diamond operator and remove redundant type arguments ( #16249 )
...
Signed-off-by: Wouter Born <github@maindrain.net>
2024-01-09 23:46:15 +01:00
Dan Cunningham
c8d2d4b171
[hydrawise] Handle API auth changes ( #16221 )
...
* Handles a new condition where the service rejects a request as unauthorized, but really we just need to refresh our token after 60 seconds.
Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2024-01-07 14:39:38 +01:00
J-N-K
3136425b39
Adapt to core changes (ThingHandlerService) ( #16107 )
...
Related to: https://github.com/openhab/openhab-core/pull/3957
Signed-off-by: Jan N. Klug <github@klug.nrw>
2024-01-03 11:50:55 +01:00
Jacob Laursen
f4596f581e
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>
2024-01-01 18:14:57 +01:00
Wouter Born
c58d894bf0
Use OnOffType.from
to reduce code ( #16101 )
...
You can create an `OnOffType` using a boolean nowadays which reduces the amount of code.
Signed-off-by: Wouter Born <github@maindrain.net>
2023-12-23 19:06:21 +01:00
Holger Friedrich
edaf17b345
Java 17 features (H-M) ( #15520 )
...
- 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
- remove null check before instanceof
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-09-08 14:36:59 +02:00
Dan Cunningham
d83084849d
[hydrawise] Fixes occasional connection issues ( #15177 )
...
* The Hydrawise API can return sometimes return a non JSON response during service outages, like when they are updating thier software. This treats this as a connection error and allows the client to try the poll again.
* Adds additional http status checking
Fixes #15170
Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2023-07-04 21:29:03 +02:00
lolodomo
cc6ecb4372
[hydrawise] Small change in handleRemoval ( #14976 )
...
Follow-up #14945
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-05-11 21:58:13 +02:00
lolodomo
da1a95fbdd
[hydrawise] Remove the access token when the thing is removed ( #14945 )
...
Related to #14818
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-05-06 22:21:40 +02:00
mlobstein
6e2dddfe73
Declare connection for bindings G thru M ( #14902 )
...
* Declare connection for bindings G-M
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2023-04-29 20:24:54 +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
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
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
Dan Cunningham
ab504bc69e
[hydrawise] fixes null pointer error for some sprinkler controllers ( #13965 )
...
Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2022-12-16 08:31:02 +01:00
Дилян Палаузов
6c1373f7c2
Typos a/an ( #13819 )
2022-12-02 13:07:31 +01:00
Dan Cunningham
b63e420abf
[Hydrawise] concurrent error ( #13268 )
...
* Fixes a concurrent modification exception, cleans up handler on dispose, fixes totally broken last contact channel
Fixes #13094
Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2022-08-17 10:07:04 +02:00
Dan Cunningham
b7e064a872
[hydrawise] Support unused zones ( #12275 )
...
* [hydrawise] Support unused zones
Fixes #12209
Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2022-02-13 09:15: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
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
Dan Cunningham
e465155d84
[hydrawise] Migrate to new GraphQL based API ( #10947 )
...
* [hydrawise] Migrated to new GraphQL based API
Fixes #7261
Signed-off-by: Dan Cunningham <dan@digitaldan.com>
* Addressed PR comments.
Signed-off-by: Dan Cunningham <dan@digitaldan.com>
* Address PR review comments.
Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2021-08-01 20:03:37 +02: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
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
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
J-N-K
ba4c96d99d
[infrastructure] move infered nullness warnings to error and update EEA ( #8949 )
...
Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2020-11-12 21:07:11 +01: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