Commit Graph

111 Commits

Author SHA1 Message Date
Jacob Laursen
7d24cfbc9e
[hdpowerview] Improve color channel for Repeater and remove redundant brightness channel (#15880)
* Improve color channel
* Log warning for unexpected color command

---------

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-11-18 12:44:09 +01:00
lsiepel
7313415ae0
Set explicit timeout for http request (#15505)
* Bondhome
* chatgpt
* electroluxair
* energidataservice
* freeboxos
* gardena
* generacmobilelink
* hdpowerview
* icalendar
* juicenet
* kostalinverter
* liquidcheck
* mcd
* meater
* miele
* mercedesme
* mybmw
* myq
* ojelectronics
* plex
* radiothermostat
* renault
* semsportal
* sensibo
* tapocontrol
* tellstick
* verisure
* vizio

---------

Signed-off-by: lsiepel <leosiepel@gmail.com>
Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2023-10-19 22:30:41 +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
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
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
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
openhab-bot
43d35538d5
New Crowdin updates (#15034)
* New translations boschindego.properties (Danish)
* New translations hdpowerview.properties (Danish)
* New translations airq.properties (German)
* New translations amazondashbutton.properties (German)
* New translations ekey.properties (German)
* New translations evcc.properties (German)
* New translations feed.properties (German)
* New translations gpstracker.properties (German)
* New translations heliosventilation.properties (German)
* New translations mybmw.properties (German)
* New translations qolsysiq.properties (Italian)
2023-05-28 20:02:12 +02:00
Andrew Fiddian-Green
df9c270acf
[hdpowerview] Add support for Generation 3 (#13355)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2023-05-24 13:00:14 +02:00
Jacob Laursen
6a33668664
Refactor usage of deprecated HSBType.getRGB (#14883)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-04-29 10:54:36 +02:00
Jacob Laursen
1726031ecc
[hdpowerview] Declare connection (#14684)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-03-26 16:43:51 +02:00
Wouter Born
9aa72abd82
Resolve runbundles and fix tests (#14588)
Related to:

* openhab/openhab-core#3433
* openhab/openhab-core#3446
* openhab/openhab-core#3450

Some tests were updated because private lifecycle methods (annotated with @BeforeAll, @AfterAll, @BeforeEach, or @AfterEach) now lead to an exception.

See: https://junit.org/junit5/docs/current/release-notes/index.html#deprecations-and-breaking-changes-3

Signed-off-by: Wouter Born <github@maindrain.net>
2023-03-12 23:00:58 +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
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
openhab-bot
fa69340f34
New translations hdpowerview.properties (Danish) (#14079) 2022-12-28 01:03:31 +01:00
Jacob Laursen
436e7c39ba
Remove deprecated channels (#14033)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-12-27 16:50:38 +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
Jacob Laursen
9b891302c8
Fix alignment/indentation (#13994)
Fixes #13882

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-12-18 10:22:07 +01:00
openhab-bot
4a13e1a68f
New Crowdin updates (#13971)
* New translations knx.properties (German)
* New translations yamahamusiccast.properties (German)
* New translations hdpowerview.properties (Danish)
* New translations jsscripting.properties (Danish)
2022-12-17 12:13:24 +01: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
Jacob Laursen
c114714a7b
[hdpowerview] Restructure DTO classes (#13630)
* Extract nested DTO's to separate classes
* Rename api to dto
* Move test classes into internal
* Finish moving of files and fix namespaces

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-11-04 18:24:39 +01:00
Jacob Laursen
af4657f3db
Add console extension for showing IDs (#13615)
Fixes #13614

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-10-28 19:11:24 +02:00
Andrew Fiddian-Green
c9481d5c36
[hdpowerview] add duette/applause skylift shades (#13574)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-10-20 12:49:23 +02:00
Andrew Fiddian-Green
66734bd5cf
[hdpowerview] support for shade types 26,27,28 (#13571)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-10-19 21:19:55 +02:00
Andrew Fiddian-Green
dce6dc9f79
[hdpowerview] Correct shade capabilities information (#13330)
* [hdpowerview] corrections to capabilities database

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-09-10 10:01:54 +02:00
Andrew Fiddian-Green
f7295bd00f
[hdpowerview] Battery channels visible only when required (#13324)
* [hdpowerview] add batteryKind field
* [hdpowerview] battery channels visible depending on batteryKind

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-08-28 13:55:18 +02:00
Andrew Fiddian-Green
0a41c3f2f6
[hdpowerview] Channels are visible depending on shade capabilities (#13275)
* [hdpowerview] create channels dynamically
* [hdpowerview] revert from channel creation to channel removal
* [hdpowerview] add category

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-08-23 22:03:43 +02:00
Jacob Laursen
c7f8507cae
[hdpowerview] Refactor tests (#13175)
* Move test providers to dedicated folder
* Simplify resource loading
* Clarify what is being tested
* Extract online communication test to separate class
* Fix SAT findings
* Rename variable to comply with naming convention

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-07-30 20:43:17 +02:00
Jacob Laursen
5ec86ec614
Add additional hub properties (#13174)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-07-28 08:43:17 +02:00
Jacob Laursen
9ec6f7d12e
Add shade RF RSSI for hub/repeater (#13096)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-07-25 12:56:03 +02:00
Andrew Fiddian-Green
f7a228e9e9
[hdpowerview] override capabilities for shade types 54,55,56 (#13169)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-07-24 15:02:43 +02:00
Jacob Laursen
0577ee8ad4
Fix excessive firmware version updates (#13155)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-07-21 19:32:42 +02:00
Andrew Fiddian-Green
4f57ae7879
[hdpowerview] add shades 31 & 33 (#13110)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-07-10 17:25:15 +02:00
Andrew Fiddian-Green
650fc523b5
[hdpowerview] Return capabilities if capabilitiesOverride is not defined (#13031)
* [hdpowerview] bug fix capabilitiesOverride
* [hdpowerview] adopt reviewer requests
* [hdpowerview] suppress log warning on hub v1
* [hdpowerview] adopt reviwer suggestions

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-06-30 10:40:37 +02: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
Jacob Laursen
b5489057b6
[hdpowerview] Refactor null-handling, maintenance period, response logging (#12950)
* Treat HDPowerViewWebTargets as non-null since initialized by initialize()
* Simplify maintenance period logic slightly
* Improve response logging

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-06-19 14:12:51 +02:00
openhab-bot
48c14e613c
New translations hdpowerview.properties (Danish) (#12963) 2022-06-19 08:45:42 +02:00
Jacob Laursen
72f947dee0
Regenerate i18n texts (#12951)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-06-17 07:31:24 +02:00
Jacob Laursen
ebca0812d1
Fix signalStrength channel update after REFRESH command (#12930)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-06-13 07:46:20 +02:00
Andrew Fiddian-Green
c806c76631
[hdpowerview] Corrections to shade database and capabilities (#12902)
* [hdpowerview] add type 66 shutters to database
* [hdpowerview] shade database updates
* [hdpowerview] shade database additions and corrections
* [hdpowerview] enhance database features
* [hdpowerview] fix capabilities 8, 9 functionality
* [hdpowerview] adjust tests to match new capabilities
* [hdpowerview] correct method visibility
* [hdpowerview] test type 44
* [hdpowerview] remove comment
* [hdpowerview] name change
* [hdpowerview] remove comments attribute
* [hdpowerview] refactor capabilities code
* [hdpowerview] 'hard' properties now hidden
* [hdpowerview] adopt reviewer suggestion
* [hdpowerview] refactor constant names

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-06-10 20:10:31 +02:00
Jacob Laursen
f986183a21
[hdpowerview] Fix output to console from tests and eliminate warnings (#12824)
* Avoid logging to console
* Fix redundant null checks

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-06-04 08:44:44 +02:00
Andrew Fiddian-Green
668eb4d3a2
[hdpowerview] add type 66 shutters to database (#12857)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-06-01 22:38:18 +02:00
Andrew Fiddian-Green
308bb3013a
[hdpowerview] Change method names to match documentation (#12796)
* [hdpowerview] refactor method names

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-05-24 21:50:41 +02:00
Andrew Fiddian-Green
af4ad689ac
[hdpowerview] add type 38 shade to database (#12761)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-05-18 17:36:57 +02:00
openhab-bot
5005dc002f
New Crowdin updates (#12392)
* New translations bluetooth.properties (Finnish)
* New translations danfossairunit.properties (Danish)
* New translations hdpowerview.properties (Danish)
* New translations jruby.properties (Italian)
* New translations miele.properties (Danish)
* New translations mqtt.properties (Italian)
* New translations openwebnet.properties (Italian)
2022-03-07 21:25:05 +01:00
Fabian Wolter
d35e96ab3f
[hdpowerview] Remove unnecessary init checks and fix Thing status detail (#12331)
* [hdpowerview] Remove unnecessary init checks and fix Thing status detail

Signed-off-by: Fabian Wolter <github@fabian-wolter.de>
2022-02-28 22:53:33 +01:00
Jacob Laursen
2d54347b65
[hdpowerview] Divide thing descriptions into separate files (#12364)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-02-23 22:43:51 +01:00