Commit Graph

1653 Commits

Author SHA1 Message Date
Christoph Weitkamp
5847db28c8
Added default i18n properties file (#11566)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-11-11 21:21:31 +01:00
Christoph Weitkamp
34cf1b9899
Added missing translations for command options (#11564)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-11-11 21:16:54 +01:00
openhab-bot
4f59c5e8b0
New Crowdin updates (#11539)
* New translations powermax.properties (French)

* New translations openhabcloud.properties (German)

* New translations avmfritz.properties (German)

* New translations mail.properties (German)

* New translations hue.properties (German)

* New translations airquality.properties (French)

* New translations ntp.properties (German)

* New translations velux.properties (German)

* New translations mail.properties (German)

* New translations hue.properties (German)

* New translations avmfritz.properties (German)

* New translations pixometer.properties (German)

* New translations openuv.properties (French)
2021-11-11 13:26:04 +01:00
Stefan Triller
062f454406
[mqtt.homeassistant] Fix MQTT Vacuum serialization names (#11550)
While integrating the review comments, I did not remember that some
variable names are written as they are because they result from some
deserialization.

This small PR fixes this.

Signed-off-by: Stefan Triller <github@stefantriller.de>
2021-11-10 17:06:45 +01:00
boc-tothefuture
2a8e9b6e93
[nuvo] fixes protocol errors when connecting via an MPS4 (#11511)
Signed-off-by: Brian O'Connell <boc-tothefuture@users.noreply.github.com>

Co-authored-by: Brian O'Connell <boc-tothefuture@users.noreply.github.com>
2021-11-10 09:31:57 +01:00
lolodomo
c58be803fc
[hue] Factorize thing configurations (#11535)
* Reduce the number of strings to translate
* Remove wrong key for channel pattern

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-11-09 17:56:40 +01:00
Gaël L'hopital
7bd71fdf12
[AirQuality] Tagging channels, prepared for Crowdin, dynamic channels (#11192)
* Adding semantic tags
Adding alert level and code refined.

Signed-off-by: Gaël L'hopital <gael@lhopital.org>

* Commiting intermediate work

Signed-off-by: Gaël L'hopital <gael@lhopital.org>

* Complete review of the binding.
Added measures for each pollutant.
Added extensible channel for pollutant sensibility.

Signed-off-by: clinique <gael@lhopital.org>

* Finishing translation

Signed-off-by: Gaël L'hopital <gael@lhopital.org>

* One last code cleansing to be ready to push

Signed-off-by: Gaël L'hopital <gael@lhopital.org>

* Documentation updates

Signed-off-by: Gaël L'hopital <gael@lhopital.org>

* Spotless apply

Signed-off-by: Gaël L'hopital <gael@lhopital.org>

* Correcting conflicting file

Signed-off-by: Gaël L'hopital <gael@lhopital.org>

* Code review correction

Signed-off-by: Gael L'hopital <gael@lhopital.org>

* Introducing a bridge to Api

Signed-off-by: clinique <gael@lhopital.org>

* Code review correction

Signed-off-by: clinique <gael@lhopital.org>
2021-11-09 08:59:13 +01:00
lolodomo
c79fd06256
[hue] Internationalization of discovery results (#11501)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-11-08 13:53:42 +01:00
Christoph Weitkamp
dfe577aec5
[openhabcloud] Added default i18n properties file (#11547)
* Added default i18n properties file
* Added translation property for service label

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-11-08 12:58:29 +01:00
Christoph Weitkamp
a1f67aadc4
[deconz] Added default i18n properties file (#11546)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-11-08 10:57:57 +01:00
Christoph Weitkamp
cde7f75b9c
Add missing entries to the default properties file (#11545)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-11-08 09:43:10 +01:00
lolodomo
f902bd478c
[kodi] Add missing entries to the default properties file (#11542)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-11-08 08:21:12 +01:00
lolodomo
b8686a6625
[weathercompany] Add missing entries to the default properties file (#11541)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-11-08 08:20:52 +01:00
lolodomo
02c2665999
[openuv] Add missing entries to the default properties file (#11540)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-11-08 08:20:33 +01:00
Stefan Triller
8dd4559443
[mqtt.homeassistant] Implement Vacuum discovery for Homeassistant MQTT (#11216)
* Implement Vacuum discovery for Homeassistant MQTT

Closes #8988

Signed-off-by: Stefan Triller <github@stefantriller.de>

* Addressed review comments

Signed-off-by: Stefan Triller <github@stefantriller.de>

* Spotless run again

Signed-off-by: Stefan Triller <github@stefantriller.de>
2021-11-07 15:57:41 +01:00
openhab-bot
56323f3f63
New Crowdin updates (#11536)
* New translations mail.properties (French)

* New translations twitter.properties (French)
2021-11-07 08:46:15 +01:00
LukasA83
a6fd6a3545
[jsscripting] Update GraalJS to 21.3 to allow method selection via JavaScript (#11437)
Signed-off-by: Lukas Agethen <lukas83@gmx.de>
2021-11-06 19:18:40 +01:00
Wouter Born
d4510f3fef
Always run OSGi HTTP service on random port in itests (#11523)
It is probably always a good idea to run the OSGi HTTP service on a random available port in itests.
So when this is always done it prevents future issues and removes a bit of duplication.

Signed-off-by: Wouter Born <github@maindrain.net>
2021-11-06 10:13:40 +01:00
lolodomo
207da1cffc
[mail] Extend properties file with all default translations (#11530)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-11-06 10:11:55 +01:00
lolodomo
360c6caf5c
[twitter] Extend properties file with all default translations (#11528)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-11-06 10:08:57 +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
Wouter Born
42b6a19d3d
Fix wrong build result when single add-on build fails (#11522)
Fixes the issue that single add-on builds that fail are not marked as such in GitHub Actions.

Signed-off-by: Wouter Born <github@maindrain.net>
2021-11-05 18:42:16 +01:00
Christoph Weitkamp
8a838fbc0f
[hue] Fixed unicode character in translation (#11519)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-11-05 15:21:48 +01:00
Wouter Born
0ae2a2b751
Suppress bnd warnings for unused imports/exports (#11513)
Ignores warnings like:

```
Warning:  /home/runner/work/openhab-addons/openhab-addons/bom/runtime-index/pom.xml [0:0]: Unused Export-Package instructions: [org.openhab.*]
Warning:  /home/runner/work/openhab-addons/openhab-addons/bom/runtime-index/pom.xml [0:0]: Unused Import-Package instructions: [io.swagger.v3.oas.annotations.*,
```

These are safe to ignore because the import/export packages are globally defined and not every bundle imports/exports all these packages.

The `skipIfEmpty` configuration furthermore prevents warnings when the bnd-maven-plugin runs on projects that don't have any code like BOMs.

More important compiler/SAT warnings standout more when there are there are fewer useless warnings.

Signed-off-by: Wouter Born <github@maindrain.net>
2021-11-05 13:56:58 +01:00
lolodomo
554e7574d1
[weathercompany] Fix internationalization of discovery service (#11499)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-11-05 12:10:10 +01:00
Christoph Weitkamp
05caddab85
[dwdunwetter] Fixed broken link in documentation (#11512)
- Fixed broken link in documentation

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-11-04 17:49:18 +01:00
Marcel
7861a9c8f4
[miio] Add support 3 yeelights (#11492)
Add support for
yeelink.light.mono6 - Mi Smart LED Bulb
yeelink.light.monoa - Yeelight LED smart bulb W3(dimmable)
yeelink.light.monob - Yeelight GU10 Smart Bulb W1(dimmable)

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-11-04 09:07:45 +01:00
Wouter Born
49aa537036
GitHub Actions workflow improvements (#11507)
* Checkout merged branches for pull requests
* Add support for incremental add-on builds to speed up PR builds
* Echo the mvn command used for builds

Signed-off-by: Wouter Born <github@maindrain.net>
2021-11-04 09:05:39 +01:00
lolodomo
d46e3bccb5
[tradfri] Internationalization of discovery results (#11498)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-11-03 22:07:28 +01:00
Wouter Born
e37fabac67
Configure default timeout of 15 minutes for all testable and lifecycle methods (#11505)
This helps to identify what tests cause builds to get stuck and it will more quickly end such builds.
When builds get stuck in tests, they would keep running for hours and then eventually when a timeout occurs, the job is killed without knowing why it got stuck.
Furhermore precious Jenkins executors will not keep being occupied by such jobs.

See: https://junit.org/junit5/docs/current/user-guide/#writing-tests-declarative-timeouts

It helps with identifying the root cause of issues like https://github.com/openhab/openhab-core/pull/2551

Signed-off-by: Wouter Born <github@maindrain.net>
2021-11-03 21:15:31 +01:00
Wouter Born
93fe919f49
Upgrade SAT to 0.12.0 (#11494)
See the [0.12.0 milestone](https://github.com/openhab/static-code-analysis/milestone/18?closed=1) for all changes in this release.

Signed-off-by: Wouter Born <github@maindrain.net>
2021-11-02 13:57:00 +01:00
Gaël L'hopital
097a54cc47
[SynopAnalyzer] Correcting spelling discrepancies (#11496)
Signed-off-by: clinique <gael@lhopital.org>
2021-11-02 13:03:22 +01:00
Wouter Born
589400e223
Fix/suppress PMD CompareObjectsWithEquals findings (#11476)
Newer PMD versions discover more CompareObjectsWithEquals findings.

Related to https://github.com/openhab/static-code-analysis/pull/423

Signed-off-by: Wouter Born <github@maindrain.net>
2021-11-02 10:43:53 +01:00
lolodomo
b67b9fcb25
[vigicrues] Add default translations to properties file (#11495)
Allows translating the binding strings with Crowdin.

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-11-02 09:48:11 +01:00
lolodomo
a75ef85ece
[weathercompany] Internationalization of discovery result (#11486)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-11-01 19:32:51 +01:00
jlaur
745bf76569
[miele] Clean up properties and improve reliability and performance (#11423)
* Use appliance cache for getting full UID with protocol prefix instead of relying on property.
* Set bare protocol name as property.
* Fix potential null pointer access warnings.
* Remove unused import.
* Renamed property protocol to protocolAdapter for correctness.
* Add connectionType property.
* Add appliance model property.
* Remove useless properties brandId and companyId always having value MI.
* Rename property dc to deviceClass and set it consistently (not only from auto-discovered things).
* Added constants for remaining handlers with hardcoded device classes.
* Fix SCA: AuthorContributionDescriptionCheck
* Fix SCA: ModifierOrderCheck
* Rename ExtendedDeviceStateUtil to be a bit more generic.
* Extract device class string parsing to utility method.
* Fix SCA: ForbiddenPackageUsageCheck
* Fix redundant null check.
* Fix potential null pointer access warnings.
* Fix unsafe null type conversion (type annotations)
* Share same configuration (UID) for all appliance types.
* Refer to gateway instead of ZigBee network in configuration.
* Remove dependency to seriaNumber property for multicast channel updates.
* Simplified filtering of irrelevant device class.
* Remove devices from remoteUid cache also when disappearing from gateway, although this is a quite rare scenario.
* Add default i18n properties file.
* Add partial Danish translation.

Fixes #11422

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2021-11-01 18:44:19 +01:00
lolodomo
dd4019c172
[openweathermap] Internationalization of discovery results (#11484)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-11-01 15:12:23 +01:00
lolodomo
f33a11ba81
[openuv] Internationalization of discovery result (#11485)
Fix #11480

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-11-01 09:57:38 +01:00
Jan Gustafsson
ba9d8b3edb
[verisure] Keep refreshing after RuntimeException (#11397)
* Fix that binding stops refreshing after RuntimException (#11396)

Signed-off-by: Jan Gustafsson <jannegpriv@gmail.com>

* Updated after review comments

Signed-off-by: Jan Gustafsson <jannegpriv@gmail.com>
2021-10-31 21:45:36 +01:00
Nils Schnabel
4423b166cb
[pjlinkdevice] fix authentication (#11472)
Signed-off-by: Nils Schnabel <github@to.nilsschnabel.de>
2021-10-31 16:30:04 +01:00
Marcel
b73bf672ab
[miio] Support contact type in basic channel json (#11477)
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-10-31 12:42:32 +01:00
Marcel
8b1eabe166
[miio] sending device in MiIoSendCommand (#11475)
* [miio] sending device in MiIoSendCommand

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>

* [miio] spotless reformatting

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-10-31 12:41:40 +01:00
mlobstein
f9ee7399ba
[yamahareceiver] Handle 'No Preset' tuner preset response (#11471)
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2021-10-31 12:40:46 +01:00
Mark Hilbush
edd3e01c64
[zoneminder] Only update state options if they've changed (#11463)
* Only update state options if they've changed

Signed-off-by: Mark Hilbush <mark@hilbush.com>

* Fix update of state options

Signed-off-by: Mark Hilbush <mark@hilbush.com>
2021-10-31 11:12:22 +01:00
openhab-bot
28fb126754
New Crowdin updates (#11469)
* New translations lgwebos.properties (French)

* New translations intesis.properties (German)

* New translations zway.properties (German)

* New translations velux.properties (German)

* New translations pushsafer.properties (German)

* New translations pushover.properties (German)

* New translations hue.properties (German)

* New translations rotel.properties (French)

* New translations openuv.properties (French)

* New translations synopanalyzer.properties (French)

* New translations nikohomecontrol.properties (Dutch)
2021-10-31 10:57:32 +01:00
Wouter Born
1eb4902511
[luxtronikheatpump] Add default translations properties file (#11479)
Signed-off-by: Wouter Born <github@maindrain.net>
2021-10-31 10:11:17 +01:00
Stian Kjoglum
20114a3685
[tibber] Modified Websocket connectivity/reconnect (#11462)
Signed-off-by: Stian Kjoglum <stiankj@online.no>
2021-10-31 09:18:11 +01:00
Jonathan S
1d07dbe1f5
[Network] Added param to differentiate between mac and IP WOL Request (#11387)
* Added possiblity to send WOL Requests to configured Hostname, also removed unnecessary unit from Timeout Annotation in WakeOnLanPacketSenderTest
* Introduced parameter to decide whether to send WOL via IP or MAC
* Added two Methods for user clarity, marked old method as deprecated, adjusted README
* Updated internal methods to use explicit calls as well, added deprecated method call to README

Signed-off-by: Jonathan Saxen <jonathan@saxen.info>
2021-10-31 09:16:00 +01:00
M Valla
3bd2939b6c
[openwebnet] added support for CEN/CEN+ scenarios (WHO=15/25) (#11398)
* [openwebnet] first support for CEN

Signed-off-by: Massimo Valla <mvcode00@gmail.com>

* [openwebnet] added CEN actions. OpenWebNetThingHandler.send() is now public

Signed-off-by: Massimo Valla <mvcode00@gmail.com>

* [openwebnet] added CEN+ support

Signed-off-by: Massimo Valla <mvcode00@gmail.com>

* [openwebnet] use WhereCEN, removed nullpointer warnings from EnergyHandler. Improved README

Signed-off-by: Massimo Valla <mvcode00@gmail.com>

* [openwebnet] completed support for CEN/CEN+

Signed-off-by: Massimo Valla <mvcode00@gmail.com>

* [openwebnet] improved log

Signed-off-by: Massimo Valla <mvcode00@gmail.com>

* [openwebnet] corrected "pressure" and renamed some labels

Signed-off-by: Massimo Valla <mvcode00@gmail.com>
2021-10-30 18:10:03 +02:00
Marcel
306b3c4853
[miio] Save last msgId and misc minor updates (#11464)
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-10-30 18:07:47 +02:00