Commit Graph

154 Commits

Author SHA1 Message Date
lsiepel
1a42353cc9
Multiple binding markdown fixes (#17422)
Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2024-09-28 17:46:53 +02:00
Andrew Fiddian-Green
7fbcb0d420
[hue] do not add instantiated rooms/zones to inbox (#17440)
Signed-off-by: AndrewFG <software@whitebear.ch>
2024-09-19 12:41:05 +02:00
Andrew Fiddian-Green
ce12f70ece
[hue] Set channel autoUpdatePolicy veto (#17411)
Signed-off-by: AndrewFG <software@whitebear.ch>
2024-09-14 14:13:50 +02:00
Holger Friedrich
54fd13b0c1
Reduce SAT warnings (#17406)
* Reduce SAT warnings

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2024-09-13 17:20:11 +02:00
Andrew Fiddian-Green
ecdb30ec50
[hue] Support dynamic add/delete of scenes (#17302)
Signed-off-by: AndrewFG <software@whitebear.ch>
2024-08-24 12:34:56 +02:00
lsiepel
ba6cef3137
[hue] Fix compile warnings (#17293)
Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2024-08-20 00:01:10 +02:00
Andrew Fiddian-Green
77561d5d8f
[hue] Add support for enabling automations (#16980)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2024-08-19 21:14:29 +02:00
lsiepel
5e0e9ce51e
Update lastnpe EEA to 2.4.0 (#16875)
Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2024-07-11 13:51:10 +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
Jacob Laursen
8cfe0d8c61
Add semantic tags for advanced light channels (#16905)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2024-06-22 20:41:57 +02:00
lolodomo
d2466d53d3
[hue] API v1: retry once on timeout for GET requests to the bridge (#16902)
Fix #16723

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2024-06-22 12:01:30 +02:00
Andrew Fiddian-Green
1d3c52a33d
[hue] Fix migration of API v1 legacy data to new v2 things (#16714)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2024-05-09 10:42:54 +02:00
Andrew Fiddian-Green
8329668931
[hue] fix JUnit tests for revised ColorUtil (#16559)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2024-04-28 21:05:23 +02:00
Andrew Fiddian-Green
203be9395e
[hue] fix npe (#16619)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2024-04-06 13:05:16 +02:00
Andrew Fiddian-Green
8687fec77c
[hue] Improve color setting (#16436)
* [hue] fix xy conversion when B is 0
* [hue] remove gamut correction; let Hue bridge do it instead
* [hue] fix gamma round trips; modernize instanceof syntax

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2024-04-03 12:17:48 +02:00
Holger Friedrich
df884ac643
Upgrade SAT plugin to 0.16.0 (#16582)
Modify code which leads to build error with new version of SpotBugs.

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2024-03-31 10:43:44 +02:00
maniac103
afa65f251d
[hue] Shrink step size for increase/decrease commands (#16538)
A step size of 30 with a value range of 0..100 leads to only 4 steps,
which additionally are spaced unevenly. Shrink the step size to 10,
which yields 10 evenly spaced steps.
While at it, also deduplicate the increase/decrease code, which had
slightly different implementation in both branches.

Signed-off-by: Danny Baumann <dannybaumann@web.de>
2024-03-18 11:56:42 +01:00
Jacob Laursen
3ca7777422
Fix NullPointerException (#16356)
Resolves #16180

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2024-02-04 12:06:14 +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
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
Andrew Fiddian-Green
d2e271d053
[hue] recreate missing scene channel (#16038)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2023-12-16 21:16:02 +01: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
Jacob Laursen
f45630064a
Fix scene channel updates (#16018)
Fixes #16000

Also-by: Andrew Fiddian-Green <software@whitebear.ch>

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-12-12 08:46:29 +01:00
Jacob Laursen
849117c7a4
[hue] Improve handling of unknown resource ID (API v2) (#16020)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-12-08 15:53:58 +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
openhab-bot
5b98e41b7a
New translations hue.properties (Italian) (#16011) 2023-12-06 17:24:48 +01:00
Andrew Fiddian-Green
4476e6dcd0
[hue] Fix edge cases for broken lights (#15999)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2023-12-06 15:22:04 +01:00
Jacob Laursen
2fae1dd99e
Use auto update policy 'veto' for light channels (#15984)
Resolves #15983

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-12-05 18:56:46 +01:00
Jacob Laursen
a76187fa3a
Fix multiple state updates (#15905)
Fixes #15700

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-12-04 22:40:31 +01:00
Andrew Fiddian-Green
73ec188067
[hue] eliminate scenes having the same name (#15976)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2023-11-29 22:36:44 +01:00
Jacob Laursen
b80273a88a
[hue] Refactor method to reduce nesting and code duplication(#15971)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-11-29 12:20:57 +01:00
Jacob Laursen
c7aed14a49
Reorganize API classes (#15934)
Resolves #15731

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-11-25 12:33:59 +01:00
openhab-bot
6db0b18ab3
New translations hue.properties (Italian) (#15874) 2023-11-09 18:48:41 +01:00
Andrew Fiddian-Green
4f6d33bb79
[hue] Support new home security products (#15601)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2023-11-09 08:09:20 +01:00
Jacob Laursen
740f80fff1
Reduce log level for logging of unknown resource types (#15815)
Resolves #15468

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-11-03 14:02:58 +01:00
Jacob Laursen
1702631303
[hue] Add channels for time of last sensor update (API v2) (#15552)
* Add channels for last motion/temperature sensor update (API v2)
* Add channel for last light level sensor update (API v2)
* Add channel for last rotary steps update (API v2)
* Add channel for last button update (API v2)

Resolves #15546

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-10-26 23:52:00 +02:00
Andrew Fiddian-Green
a0bc1e0f8b
[hue] Support smart scenes (#15388)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2023-10-17 14:35:21 +02:00
Gemertw
57b265574d
Update readme_v2.md (#15656)
Under demo.items the button-last-event channel was of the Number type. I have changed this to String.
In the channels for devices section this was already corrected but is not 'live' yet?

Signed-off-by: Gemertw <59452423+Gemertw@users.noreply.github.com>
2023-10-14 19:35:01 +02:00
Andrew Fiddian-Green
247c0973b6
[hue] Support timed effects (#15408)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2023-10-14 19:30:15 +02:00
Jacob Laursen
4b0c551065
[hue] Fix channel refresh (API v2) (#15736)
* Fix refresh/initial state request

Fixes #15735

* Fix channel updates when thing comes online
Fixes #15669

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
Also-by: Andrew Fiddian-Green <software@whitebear.ch>
2023-10-14 19:18:52 +02:00
Andrew Fiddian-Green
2382a557d3
[hue] support new effects (#15732)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2023-10-10 19:11:36 +02:00
Holger Friedrich
f24a4305b8
Improve javadoc for some addons (#15701)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-10-08 00:25:04 +02:00
Jacob Laursen
e9305c3709
[hue] Cleanup code (#15715)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-10-07 15:08:02 +02:00