Commit Graph

4111 Commits

Author SHA1 Message Date
Jacob Laursen 58a8580a97
[squeezebox] Add UoM support for time channels (#15997)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-12-05 20:04:49 +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
openhab-bot cff35b392d
New Crowdin updates (#16007)
* New translations bluetooth.properties (Italian)
* New translations bluetooth.properties (Danish)
2023-12-05 16:48:03 +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
Markus Heberling f5065ad6e4
[grundfosalpha] Initial contribution (#15907)
* [Bluez] Disable automatic filtering of duplicate data
* Added Grundfos Alpha binding

Signed-off-by: Markus Heberling <markus@heberling.net>
2023-12-04 11:10:10 +01:00
openhab-bot c22de9bcd3
New translations energidataservice.properties (Italian) (#16004) 2023-12-04 07:01:47 +01:00
GiviMAD b86097cacd
[actiontemplatehli] Remove add-on. (#15972)
Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com>
2023-12-03 11:22:49 +01:00
mlobstein 55b8e1ce63
Update README (#15998)
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2023-12-03 11:17:35 +01:00
openhab-bot f0c8defabb
New translations shelly.properties (German) (#15988) 2023-12-02 00:15:26 +01:00
Sascha Binger b490b56dbd
Update README.md (#15981)
Fixed typos in example item configuration

Signed-off-by: Sascha Binger <glazfehler@users.noreply.github.com>
2023-12-01 08:58:09 +01:00
Andreas Berger 4fbb6c9655
[fineoffsetweatherstation] Fix handling of undefined lightning distance and time (#15979)
Signed-off-by: Andreas Berger <andreas@berger-freelancer.com>
2023-11-30 11:13:41 +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
mlobstein e33cccc29c
[roku] Improve exception handling for failed http connections (#15932)
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2023-11-29 08:12:27 +01:00
Siegmar Immel 6df602599e
[mail] Improve action documentation (#15970)
* Use of actions.get instead of getActions 

Adopt doc to newest default JS environment regarding calling mail actions via actions.get

Signed-off-by: Siegmar Immel <36704892+SiggiFR@users.noreply.github.com>

* [mail] Adding Javascript examples in documentation

Because function name has changed to get actions defined within the mail binding, the examples have been extended by a tab for JavaScript code.

* Update bundles/org.openhab.binding.mail/README.md

Co-authored-by: J-N-K <github@klug.nrw>
Signed-off-by: Siegmar Immel <36704892+SiggiFR@users.noreply.github.com>

---------

Signed-off-by: Siegmar Immel <36704892+SiggiFR@users.noreply.github.com>
Co-authored-by: J-N-K <github@klug.nrw>
2023-11-28 22:45:26 +01:00
Konstantin Polihronov f4aa1c6d59
[solax] Implementation of refresh command and improved thread safety (#15958)
* Implementation of refresh command and better multi-thread handling

---------

Signed-off-by: Konstantin Polihronov <polychronov@gmail.com>
2023-11-28 00:29:16 +01:00
Marcel 4d13a6d20e
[miio] Fix cleaning record for newer vacuums (#15944)
* [miio] Fix cleaning record for newer vacuums

Fixes Roborock Q7Max Historical Cleaning record missing

closing #15490

---------

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2023-11-28 00:10:27 +01:00
lolodomo 9b55bfba58
[ecowatt] Add support for API version 5 (#15953)
A new thing parameter to define the API version has been added.
Its default value is 4 for backward compatibility even if this version
is now deprecated. The documentation explains what to do to switch from
a version to another.

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-11-26 23:34:45 +01:00
Markus Michels a4da986330
[shelly] Support for Plus Dimmer 10v (#15950)
* Implements #15949: Plus Dimmer 10v added
* category DimmableLight does not exist; README updated

---------

Signed-off-by: Markus Michels <markus7017@gmail.com>
2023-11-26 00:27:03 +01:00
Wouter Born 5177cf1e0c
[lifx] Add support for new LIFX products (#15957)
Allows for discovering all the new LIFX products and their features:

* LIFX Neon
* LIFX String

See:

* https://github.com/LIFX/products/blob/master/products.json
* https://www.lifx.com.au/products/neon-flex-2m-indoor
* https://www.lifx.com.au/products/lifx-string-light

Signed-off-by: Wouter Born <github@maindrain.net>
2023-11-25 22:56:04 +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
Cody Cutrer 9d214b0558
[mqtt.homeassistant] interpret a dimmable light as OFF properly from zigbee2mqtt (#15925)
* [mqtt.homeassistant] interpret a dimmable light as OFF properly from zigbee2mqtt

zigbee2mqtt can send a brightness of say 99, with a state of OFF, when a bulb is
off. make sure if state is sent, it overrides all other inferences

* handle brightness but not color bulbs

---------

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2023-11-25 12:47:00 +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
Cody Cutrer 935415aa6e
[mqtt.homeassistant] VETO updates to read only channels (#15937)
I.e. Button, Scene, and Binary Sensors.

Also ensure we set up the CommandDescription, since some value types mights use it.

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2023-11-25 12:27:05 +01:00
Markus Michels a13fd80bfe
[shelly] Misc changes (small fixes, log improvements, hardened leak prevention on (#15922)
* Misc changes (same fixes, log improvements, hardened leak prevention on
exceptions)

---------

Signed-off-by: Markus Michels <markus7017@gmail.com>
2023-11-25 09:46:22 +01:00
openhab-bot a31b1578be
New translations energidataservice.properties (Danish) (#15948) 2023-11-23 20:54:56 +01:00
Jacob Laursen 9b1553c333
Rename channels net-tariff and transmission-net-tariff (#15938)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-11-23 19:36:30 +01:00
Matthew Skinner 50801be9d5
Fix Reloink alarms not working after reconnect. (#15943)
Signed-off-by: Matthew Skinner <matt@pcmus.com>
2023-11-23 13:39:07 +01:00
openhab-bot 3c0c402761
New translations energidataservice.properties (Italian) (#15947) 2023-11-22 23:27:42 +01:00
openhab-bot 2064b51610
New Crowdin updates (#15939)
* New translations shelly.properties (German)
* New translations energidataservice.properties (Danish)
2023-11-22 07:00:48 +01:00
Jacob Laursen b2b7602eee
Rename price element to price component (#15935)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-11-20 23:18:46 +01:00
David Pace ff873fff14
[boschshc] Update active profile of intrusion detection system (#15899)
* [boschshc] Update active profile of intrusion detection system

Fixes an issue that caused the active configuration profile of the
intrusion detection system not to be updated.

closes #15848

* [boschshc] add channel to control state service registration

Signed-off-by: David Pace <dev@davidpace.de>
2023-11-20 20:59:52 +01:00
openhab-bot 62f9f03bbf
New Crowdin updates (#15931)
* New translations openwebnet.properties (Italian)
* New translations jsscripting.properties (Danish)
* New translations hdpowerview.properties (Danish)
2023-11-20 12:30:32 +01:00
Cody Cutrer 89380b0e41
[mqtt.homeassistant] Add support for Scene component (#15916)
Signed-off-by: Cody Cutrer <cody@cutrer.us>
2023-11-19 17:54:33 +01:00
Cody Cutrer 44e32d3fbb
[mqtt.homeassistant] implement effect channel for light (#15914)
Signed-off-by: Cody Cutrer <cody@cutrer.us>
2023-11-19 17:52:51 +01:00
M Valla dcf4255b98
[openwebnet] fix CEN/CEN+ scenario control buttons param descriptions (#15924)
Signed-off-by: Massimo Valla <mvcode00@gmail.com>
2023-11-19 17:26:27 +01:00
Cody Cutrer fc9579430e
[mqtt.homeassistant] Add support for Button component (#15892)
* [mqtt.homeassistant] Add support for Button component
* use a StringValue instead of an OnOffValue

---------

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2023-11-19 17:06:54 +01:00
Giovanni Fabiani 9a920a244a
[openwebnet] Energy: add totalizers channels for energy kWh consumed for today and current month (#15837)
* feat(energy): get current day and current month totalizers
* fixed unit (Power:Energy), refreshPeriod config and scheduler

---------

Signed-off-by: Giovanni Fabiani <fabiani.giovanni@gmail.com>
Co-authored-by: Conte Andrea <andrea@conte.com>
2023-11-19 16:57:13 +01:00
Simonas Kazlauskas 1ea6865254
[velbus] Review/rewrite documentation (#15537)
The page was missing information in some places (e.g. some supported
modules were not listed at all,) and some outdated information in
others. Some examples were malformed, and some wording didn’t flow too
well. The section on Channels is still pretty iffy, but I left this as
an exercise for a future me or somebody else :)

Signed-off-by: Simonas Kazlauskas <openhab@kazlauskas.me>
2023-11-19 15:59:32 +01:00
Cody Cutrer c2a6329408
[mqtt.homeassistant] Handle empty device name (#15918)
Follow on to #15427

ring-mqtt sends `"name": ""`, not `"name": null` or simply omitting it,
so be sure to handle that way as well

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2023-11-19 00:58:25 +01:00
Cody Cutrer 8ca03bd5c7
[mqtt.homeassistant] fix compilation problems (#15915)
Due to #15427 and #14839 being developed independently, but merged
to main successively

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2023-11-18 23:38:52 +01:00
Jacob Laursen 96470d4448
Fix openhab unit name (#15913)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-11-18 23:20:27 +01:00
Cody Cutrer 7fc351c9c2
[mqtt.homeassistant] handle null component name (#15427)
* [mqtt.homeassistant] handle null component name

channels from such components will not have a group. this is
now done by zigbee2mqtt for the "default" component of a device,
such as the light. HASS encourages this as of release 2023.8

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2023-11-18 22:46:57 +01:00
Markus Michels a535caa13c
[shelly] BLU Motion, optimize ShellyManager for BLU devices (#15401)
Signed-off-by: Markus Michels <markus7017@gmail.com>
2023-11-18 21:50:10 +01:00
Cody Cutrer 27924d677f
[mqtt.homeassistant] Support color temp on JSON schema lights (#14839)
* [mqtt.homeassistant] support color temp on JSON schema lights

also adds a color_mode channel if color temp is possible, so you can
know how the bulb is behaving

* put color mode channel construction into buildChannels()

---------

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2023-11-18 21:31:49 +01:00
maniac103 87ae9e2a37
[homematic] Fix duplication of LONG_REPEATED events for HM devices (#15906)
Depending on device configuration and used central [1], HM devices may
indicate long press repetition either by a single PRESS_CONT event or by
a PRESS_CONT + PRESS_LONG combination. In the latter case, make sure to
not generate a LONG_REPEATED trigger channel event for both PRESS_CONT
and PRESS_LONG, but instead keep LONG_REPEATED generation to the
PRESS_CONT handling.

[1] I'm not sure what a real CCU is doing, but for Homegear, a
    configured long press timeout of less than 1s generates only
    PRESS_CONT, while a timeout of more than 1s generates
    PRESS_CONT + PRESS_LONG ... see [2].
[2] https://github.com/Homegear/Homegear-HomeMaticBidCoS/blob/master/src/BidCoSPeer.cpp#L1711-L1716

Signed-off-by: Danny Baumann <dannybaumann@web.de>
2023-11-18 20:38:55 +01:00
Dan Cunningham 01ab38ee13
[myq] Remove MyQ Binding (#15911)
Fixes #15910

Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2023-11-18 20:30:48 +01:00
Markus Michels 45786fa12c
[shelly] Fix Gen2 auth, improved security for Gen1 auth, improved discovery (#15898)
Signed-off-by: Markus Michels <markus7017@gmail.com>
2023-11-18 16:28:44 +01:00
Jacob Laursen 608007c67e
Fix color state update (#15908)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-11-18 16:24:10 +01:00
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