Commit Graph

29 Commits

Author SHA1 Message Date
Olivier
4591f64a3a
enable background discovery (#16328)
Signed-off-by: Olivier Marceau <hollysaiqs@marceau.ovh>
2024-02-04 11:13:47 +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
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
1b122a53b9
Java 17 features (T-Z) (#15576)
- 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-21 07:58:53 +02:00
mlobstein
acb73a2c7b
Declare connection for bindings T-Z (#14912)
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2023-04-30 20:56:14 +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
openhab-bot
024e15806d
New Crowdin updates (#12991)
* New translations teleinfo.properties (French)

* New translations boschindego.properties (Danish)

* New translations watsonstt.properties (Italian)
2022-06-23 08:55:38 +02:00
olivierkeke
e89a5e6996
[teleinfo] Refactor channel config files for Linky standard mode (#12204)
* Refactor channel config files
* Remove duplicate PAPP channel type

Signed-off-by: Olivier Marceau <hollysaiqs@marceau.ovh>
2022-02-07 16:02:48 +01:00
olivierkeke
87975feab2
[teleinfo] Update translation files (#12156)
* Apply maven i18n plugin

Signed-off-by: Olivier Marceau <hollysaiqs@marceau.ovh>
2022-02-01 00:44:58 +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
olivierkeke
5d52435dea
[teleinfo] Add support for Standard tic mode (#11375)
* Add a ticMode parameter to serial controller

Signed-off-by: Olivier Marceau <hollysaiqs@marceau.ovh>

* Improve checksum verification

Signed-off-by: Olivier Marceau <hollysaiqs@marceau.ovh>

* Add parameter to deactivate checksum verification

Signed-off-by: Olivier Marceau <hollysaiqs@marceau.ovh>

* Add standard field labels

Signed-off-by: Olivier Marceau <hollysaiqs@marceau.ovh>

* Add things and channels for standard tic mode

Signed-off-by: Olivier Marceau <hollysaiqs@marceau.ovh>

* Add standard tic mode timestamp

Signed-off-by: Olivier Marceau <hollysaiqs@marceau.ovh>

* Fix typo

Signed-off-by: Olivier Marceau <hollysaiqs@marceau.ovh>

* Add some required null annotation

Signed-off-by: Olivier Marceau <hollysaiqs@marceau.ovh>

* Add parser for relais states

Signed-off-by: Olivier Marceau <hollysaiqs@marceau.ovh>

* Add relais channels and refactor standard mode channels

Signed-off-by: Olivier Marceau <hollysaiqs@marceau.ovh>

* Add @NonNullByDefault on enum

Signed-off-by: Olivier Marceau <hollysaiqs@marceau.ovh>

* Update documentation

Signed-off-by: Olivier Marceau <hollysaiqs@marceau.ovh>

* Fix formula in documentation

Signed-off-by: Olivier Marceau <hollysaiqs@marceau.ovh>

* Fix code issues

Signed-off-by: Olivier Marceau <hollysaiqs@marceau.ovh>

* Move channel type description in same file than channel group type description

Signed-off-by: Olivier Marceau <hollysaiqs@marceau.ovh>

* Add pattern specification to dateTime channel type

Signed-off-by: Olivier Marceau <hollysaiqs@marceau.ovh>

* Add missing channelGroup id in channel UID

Signed-off-by: Olivier Marceau <hollysaiqs@marceau.ovh>

* Add trace log

Signed-off-by: Olivier Marceau <hollysaiqs@marceau.ovh>

* Fix group labels

Signed-off-by: Olivier Marceau <hollysaiqs@marceau.ovh>

* Make labels uppercase

Signed-off-by: Olivier Marceau <hollysaiqs@marceau.ovh>

* Make options lowercase

Signed-off-by: Olivier Marceau <hollysaiqs@marceau.ovh>

* Simplify group label

Signed-off-by: Olivier Marceau <hollysaiqs@marceau.ovh>
2021-12-12 22:58:36 +01:00
openhab-bot
ffa0b04cac
New Crowdin updates (#11518)
* New translations lametrictime.properties (French)

* New translations thingstate.properties (French)

* New translations twitter.properties (French)

* New translations tradfri.properties (French)

* New translations vigicrues.properties (French)
2021-11-05 19:37:03 +01:00
lolodomo
b3bb808d25
[teleinfo] Standardize config URI (#11019)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-07-18 09:16:16 +02:00
olivierkeke
030329c118
[teleinfo] Add power dimension to apparent power channels (#10512)
* Add Power dimension to PAPP channels

Signed-off-by: Olivier Marceau <hollysaiqs@marceau.ovh>

* Add PAPP dimension in documentation

Signed-off-by: Olivier Marceau <hollysaiqs@marceau.ovh>
2021-04-16 22:08:24 +02:00
Wouter Born
0c36650179
Avoid star imports and add missing braces (#10521)
Fixes the following SAT findings:

* AvoidStarImportCheck (125)
* NeedBracesCheck (39)

Signed-off-by: Wouter Born <github@maindrain.net>
2021-04-15 16:12:05 +02:00
olivierkeke
217f25fff6
[teleinfo] code cleanup and remove timeout (#9902)
* Remove timeout when waiting frame

Signed-off-by: Olivier Marceau <hollysaiqs@marceau.ovh>

* Add olivierkeke to code owners list

Signed-off-by: Olivier Marceau <hollysaiqs@marceau.ovh>

* Code cleanup

Signed-off-by: Olivier Marceau <hollysaiqs@marceau.ovh>

* Refactor data objects

Signed-off-by: Olivier Marceau <hollysaiqs@marceau.ovh>

* Apply some sonarlint suggestions

Signed-off-by: Olivier Marceau <hollysaiqs@marceau.ovh>

* Fix typo

Signed-off-by: Olivier Marceau <hollysaiqs@marceau.ovh>

* Simplify thing compatibility test

Co-authored-by: Connor Petty <mistercpp2000@gmail.com>
Signed-off-by: Olivier Marceau <hollysaiqs@marceau.ovh>

* Remove dot from PTEC values

Signed-off-by: Olivier Marceau <hollysaiqs@marceau.ovh>

Co-authored-by: Connor Petty <mistercpp2000@gmail.com>
2021-04-10 22:36:06 +02:00
olivierkeke
4e73b05ff0
[teleinfo] Fix memory leak (#9724)
* Use set instead list to avoid duplicate listeners
* Remove from listeners when bridge is not ONLINE
* Unsubscribe from bridge handler events when thing handler is disposed

Signed-off-by: Olivier Marceau <hollysaiqs@marceau.ovh>
2021-01-13 11:40:25 -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
olivierkeke
f5d5cd4b4c
[teleinfo] Use new apparent power unit (#9456)
* Use new apparent power unit
* Apply spotless formatting

Signed-off-by: Olivier Marceau <hollysaiqs@marceau.ovh>
2020-12-22 19:08:39 -08:00
Fabian Wolter
b8721aa7b4
[teleinfo] Try to make tests more stable (#9303)
Signed-off-by: Fabian Wolter <github@fabian-wolter.de>
2020-12-13 16:26:12 +01:00
Wouter Born
ac6f08908f
Use renamed Units class (#9267)
Signed-off-by: Wouter Born <github@maindrain.net>
2020-12-07 10:34:02 +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
Wouter Born
bd82ca82df
Migrate tests to JUnit 5 (#8519)
Signed-off-by: Wouter Born <github@maindrain.net>
2020-09-21 18:21:26 +02: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