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
Holger Friedrich
639a1cb263
Prepare for OH 5.0.0 ( #17906 )
...
* Switch to 5.0.0-SNAPSHOT
* Fix spotless after unleash
* resolve itest runbundles
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2024-12-15 20:30:05 +01:00
openhab-bot
f80fd3d18c
[unleash-maven-plugin] Preparation for next development cycle.
2024-12-15 13:46:58 +00:00
stefan-hoehn
987b894458
[nanoleaf] Suppress ipv6 addr in controller discovery ( #17724 )
...
* stabilize nanoleaf binding:suppress ipv6 addresses in controller discovery
Signed-off-by: Stefan Höhn <stefan.hoehn@nfon.com>
2024-11-10 13:44:37 +01:00
Andrew Fiddian-Green
2080c85524
[various] Lamp handlers expose min/max Color Temperature in state description ( #17641 )
...
* Lamp handlers expose min/max Colour Temperature in state description
* add color temperature validit and range checks
Signed-off-by: AndrewFG <software@whitebear.ch>
2024-11-02 00:07:20 +01:00
lsiepel
455330e741
[multiple] Reduce SAT warnings ( #17564 )
...
* NoEmptyLineSeparatorCheck
* ModifierOrderCheck
* TypeNameCheck
* ConstantNameCheck loggers
* UnusedPrivateField
* Fix imports
* New line
* dynamodb static logger
Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2024-10-19 16:59:52 +02:00
lsiepel
20b889c029
Markdown Documentation fixes ( #17526 )
...
Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2024-10-10 22:42:51 +02:00
Jacob Laursen
85b165208c
Make Markdown code block languages consistent ( #17480 )
...
* Make Markdown code block languages consistent
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Fix indentation
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
---------
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2024-09-29 12:47:18 +02:00
lsiepel
1a42353cc9
Multiple binding markdown fixes ( #17422 )
...
Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2024-09-28 17:46:53 +02:00
lsiepel
71a208b91b
Apply Spotless after release ( #17016 )
...
* Spotless
Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2024-07-07 23:20:16 +02:00
openhab-bot
4b5e4646ac
[unleash-maven-plugin] Preparation for next development cycle.
2024-07-07 18:09:31 +00:00
stefan-hoehn
bcdb664057
Readme updates for Nanoleaf and Govee ( #16292 )
...
* Readme updates for Nanoleaf and Govee
Signed-off-by: Stefan Höhn <mail@stefanhoehn.com>
2024-01-18 22:36:36 +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
Wouter Born
3415397a83
Remove unnecessary semicolons ( #16214 )
...
This helps with stopping the proliferation of unnecessary semicolons.
Signed-off-by: Wouter Born <github@maindrain.net>
2024-01-05 23:56:58 +01:00
Wouter Born
4fe00bb2bf
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>
2024-01-05 20:00:24 +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
533cc666ab
Apply spotless after release ( #16097 )
...
* Apply spotless after release
* itests: resolve bundles
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-12-22 23:30:38 +01:00
openhab-bot
83e0485219
[unleash-maven-plugin] Preparation for next development cycle.
2023-12-22 14:37:48 +00: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
mueller-ma
dc6c08801c
[nanoleaf] Fix typos ( #15956 )
...
Signed-off-by: mueller-ma <mueller-ma@users.noreply.github.com>
2023-11-25 14:36:20 +01:00
stefan-hoehn
1f0e430506
[Nanoleaf] ipv6 address doc ( #15612 )
...
* Nanoleaf codeowners change
* add ipv6 info about nanolead discovery
Signed-off-by: Stefan Höhn <mail@stefanhoehn.com>
2023-10-01 21:51:07 +02:00
uqs
7802a4a3ff
Remove non-existing power channel ( #15570 )
...
Migrating from OH 2.5 I tripped over this, as :power no longer exists and instead one has to send ON/OFF commands to the :color channel instead.
Looks like documentation wasn't fully updated with the code changes.
Signed-off-by: uqs <uqs@FreeBSD.org>
2023-09-23 18:13:41 +02:00
Holger Friedrich
ab58f4ffb4
Java 17 features (N-S) ( #15565 )
...
- 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-13 08:03:31 +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
Holger Friedrich
2c8f639060
[nanoleaf] Use new core class ColorUtil for RGB conversion ( #14773 )
...
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-05-01 20:43:22 +02:00
mlobstein
dc19e2991d
Declare connection for bindings N thru S ( #14907 )
...
* Declare connection for bindings N-S
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2023-04-30 17:37:32 +02:00
lolodomo
d33f6916d2
[nanoleaf] Stop the HTTP client when disposing the thing handler ( #14459 )
...
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-02-20 20:28:27 +01:00
Mark Hilbush
38fa097594
Fix incorrect i18n tags in addon.xml ( #14312 )
...
Signed-off-by: Mark Hilbush <mark@hilbush.com>
2023-02-01 20:27:10 +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
Jørgen Austvik
6cd59e4c94
[nanoleaf] More robust caching of layout ( #13998 )
...
* [nanoleaf] More robust caching of layout
This is a bugfix/enhancement to make sure the caching of the layout
(to save it from being recalculated) works better:
- Only save previous layout if indeed painted
- Only save layout from the layout update, not the display state
- Recalculate anyway if current state is null
* Bugfix: Update colors
When Stefan runs, the getBridge() returns null, when Jørgen runs, is doesn't. But it isn't needed, because we
are already in the handler, so just call own methods.
Improvement: Less draws when updating colors
Instead of drawing the picture for each panel (which gave a cool effect), draw only once when we have parsed all color data.
Signed-off-by: Jørgen Austvik <jaustvik@acm.org>
2022-12-25 20:56:04 +01:00
Cody Cutrer
672b60b1d9
[nanoleaf] Handle and provide QuantityType for color-temperature-abs channel ( #14026 )
...
* [nanoleaf] handle and provide QuantityType for color-temperature-abs channel
see https://github.com/openhab/openhab-core/pull/3129
Signed-off-by: Cody Cutrer <cody@cutrer.us>
2022-12-21 22:43:46 +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
Jørgen Austvik
79060f3c8f
[nanoleaf] Bugfix: Handle non-integer panel ids ( #13951 )
...
Panel ids are sometimes returned as BigInteger
We haven't been able to understand why this happens somewhere and
somewhere not, but this is an sledgehammer attempt to fix it quickly
to unblock users, and then we will try to understand it later.
Discussions:
https://community.openhab.org/t/java-lang-classcastexception-class-java-math-bigdecimal-cannot-be-cast-to-class-java-lang-integer/142035/16
https://community.openhab.org/t/nanoleaf-binding-oh3-stabilization-update/116300/61
Signed-off-by: Jørgen Austvik <jaustvik@acm.org>
2022-12-14 20:15:47 +01:00
Jerome Luckenbach
1ca9baf157
[Documentation] Markdown improvements n to s ( #13948 )
...
Signed-off-by: Jerome Luckenbach <github@luckenba.ch>
2022-12-14 16:52:43 +01:00
Jerome Luckenbach
73b6e886f2
Fix wrong image and website build. ( #13917 )
...
Signed-off-by: Jerome Luckenbach <github@luckenba.ch>
2022-12-11 21:43:42 +01:00
Jørgen Austvik
70cca8fc77
[nanoleaf] More color for less network calls ( #13893 )
...
* [nanoleaf] More color for less network calls
This is a refactoring that moves the "get panel color" out of the
panel handler and into a separate class, with callbacks.
This makes us do only one REST call to get colors instead of one per
panel that is a thing. It also lets us retrieve colors for all panels -
also those that doesn't have a thing in OpenHAB,
While testing this out, I found a bug where solid colors set in the app
wasn't reflected in neither the controller nor panel channels, and that
should also be fixed now.
Signed-off-by: Jørgen Austvik <jaustvik@acm.org>
2022-12-11 16:09:53 +01:00
Jørgen Austvik
8c0925a63b
Dont set read only temp file ( #13905 )
...
Because it breaks windows builds
Signed-off-by: Jørgen Austvik <jaustvik@acm.org>
2022-12-11 10:10:37 +01:00
Jørgen Austvik
02398b14a3
[Nanoleaf] Support lines ( #13881 )
...
Lines is a Nanoleaf shape we haven't been able to test earlier.
Now we have tested them, and added support for painting them as well.
They do unfortunately not support touch gestures.
Signed-off-by: Jørgen Austvik <jaustvik@acm.org>
2022-12-08 22:39:45 +01:00
Jørgen Austvik
177ce2a217
[Nanolaef] Visual State Bugfix ( #13880 )
...
* Nanoleaf Visual State fix
Fix the visual state channel name.
Also:
- Better name (from state to visual state) of the (new) channel
- Better logs which has helped us debug the problem
- Some more information on when it will work in the README
Signed-off-by: Jørgen Austvik <jaustvik@acm.org>
2022-12-08 21:00:11 +01:00
stefan-hoehn
4c93125723
[nanoleaf] add LONG_PRESSED tap detection ( #13865 )
...
* [nanoleaf] add LONG_PRESSED tap detection
Signed-off-by: Stefan Höhn <stefan.hoehn@nfon.com>
2022-12-07 05:49:04 +01:00
Jørgen Austvik
cad69c8de5
[Nanoleaf] New Channel: State ( #13746 )
...
* [Nanoleaf] New Channel: State
Shows an image of the state of the panels with color.
Also makes the layout slightly prettier. This is less functional than the layout, and more eyecandy.
Signed-off-by: Jørgen Austvik <jaustvik@acm.org>
2022-12-02 21:14:53 +01:00