forked from openhab/openhab-core
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add unit and numericState for QuantityType #3
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Upgrades Jollyday 0.5.10 (de.jollyday) to 0.23.2 of a more actively maintained fork (de.focus-shift). * This adds many missing holidays. * Also removes the workaround for the Danish Great Prayer Day introduced by openhab#3573. For release notes, see: https://github.com/focus-shift/jollyday/releases Fixes openhab#3544 Signed-off-by: Wouter Born <[email protected]>
Fix openhab#4037 Signed-off-by: Jan N. Klug <[email protected]>
It has been reported several times that add-ons were not properly installed / missing after an upgrade or the installation of incompatible add-ons resulted in broken installations. After an upgrade (or clean cache) the `AddonHandler`s try to re-install the add-ons from the download cache (`<userdata>/marketplace`). This happens without checking compatibility. This was needed before OH4, because the cache was the only source providing information about installed add-ons. This is now different, since we store the add-on information in a JSON database, so the UIDs of the add-ons are known. This PR changes improves the add-on services. It now 1. Reads the information about the installed add-ons from the database and sets the installation status based on information from the handlers. 2. Removes all add-ons that are not installed from the JSON database and remembers their UIDs. 3. Refreshes the remote add-on list (including check for compatibility if not disabled). 4. Tries installation of the add-ons remembered in step 2. Since incompatible add-ons are missing in the add-on list, their installation fails and a warning is logged. This PR is has two corresponding PR in openhab-distro and openhab-linuxpkg to ensure that the upgrade script and `openhab-cli` also clear the marketplace cache. Signed-off-by: Jan N. Klug <[email protected]>
The class of the the broken provider should be logged, not the class of the command description. Signed-off-by: Jan N. Klug <[email protected]>
…ab#4043) Signed-off-by: Jan N. Klug <[email protected]>
Signed-off-by: Jan N. Klug <[email protected]>
* Fix several compiler warnings * Add missing null annotations * Add missing null checks * Remove use of deprecated SecurityManager * Remove redundant null checks * Remove unused variables * Fix raw use of parameterized class Signed-off-by: Wouter Born <[email protected]>
* Replace Markdown backticks with JavaDoc code tags The proper way to format code with JavaDoc is using code tags and not Markdown backticks. Signed-off-by: Wouter Born <[email protected]>
Signed-off-by: Laurent Garnier <[email protected]>
…e helpful error (openhab#4052) Installing from marketplace gives an Error that is not very helpful. Couldn’t find the widget in the add-on entry The cause was missing ```yaml code fence when a normal code fence was used. This used to work in the past so a number of widgets are done this way and will not install. Suggest a more useful message to help guide widget devs. Signed-off-by: Matthew Skinner <[email protected]>
* Add console commands to manage add-ons Signed-off-by: Jan N. Klug <[email protected]>
…openhab#4064) Signed-off-by: Jörg Sautter <[email protected]>
Signed-off-by: Jörg Sautter <[email protected]>
…penhab#4068) * Remove state description when loading an item with a removed pattern Fix openhab/openhab-webui#2251 Signed-off-by: Laurent Garnier <[email protected]> * Extended integration test testSquareBracketsInFormat Signed-off-by: Laurent Garnier <[email protected]> --------- Signed-off-by: Laurent Garnier <[email protected]>
* Remove unused imports and reference explicit namespaces in Javadoc links * Fix potential null pointer access * Remove redundant null checks and dead code * Suppress deprecation warnings in tests Signed-off-by: Jacob Laursen <[email protected]>
Signed-off-by: Jacob Laursen <[email protected]>
Signed-off-by: Andrew Fiddian-Green <[email protected]>
…penhab#4059) Bumps [com.jayway.jsonpath:json-path](https://github.com/jayway/JsonPath) from 2.8.0 to 2.9.0. - [Release notes](https://github.com/jayway/JsonPath/releases) - [Changelog](https://github.com/json-path/JsonPath/blob/master/changelog.md) - [Commits](json-path/JsonPath@json-path-2.8.0...json-path-2.9.0) Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: Jan N. Klug <[email protected]>
Signed-off-by: MV <[email protected]>
This cleanup includes: * Use enhanced for loops * Use text blocks * Use Objects.equals * Fix some typos * Remove redundant variable initialization * Remove redundant null checks with instanceof * Remove redundant thrown Exceptions * Remove redundant empty String concatenation Signed-off-by: Wouter Born <[email protected]>
* Apply channel config changes in .items file Changes in channel config weren't applied because ItemChannelLink.equals() include the link configurations in the comparison. This caused the new link not being found in the set lookup, which leads to erroneously calling notifyListenersAboutAddedElement, when it should've called notifyListenersAboutUpdatedElement instead. Signed-off-by: Jimmy Tanagra <[email protected]>
Signed-off-by: Jacob Laursen <[email protected]>
If the specified key is not already associated with a value (or is mapped to null), the given mapping function computes the value. Signed-off-by: Wouter Born <[email protected]>
…nhab#4058) * Script profile: Separate toHandlerScript for commands and states This allows much more fine-grained control for the script profile. E.g. it is now possible to mimic the behaviour of the `system:follow` profile, but apply a script transformation to the forwarded state. Signed-off-by: Florian Hotze <[email protected]>
Signed-off-by: Jan N. Klug <[email protected]>
Allow a group to be a member of its direct parent and also its parent's ancestors without raising an error. Looping membership is still detected and prevented as before, thus Stack Overflow is still avoided. Signed-off-by: Jimmy Tanagra <[email protected]>
…b#4084) Related to openhab#3430 Signed-off-by: Laurent Garnier <[email protected]>
Data added from the REST API is immediately stored in the selected persistence service, bypassing the `PersistenceManager`. Because of that the future values are not correctly "restored". Signed-off-by: Jan N. Klug <[email protected]>
Why do unresolved tests result in "No error" instead of "Failed"? Signed-off-by: Jan N. Klug <[email protected]>
Signed-off-by: Holger Friedrich <[email protected]>
This fixes the following deprecation warning: > Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20 Signed-off-by: Wouter Born <[email protected]>
* Upgrades jUPnP from 2.7.1 to 3.0.0. * Uses a custom OSGiUpnpServiceConfiguration for JDK-8301341 workaround For release notes, see: https://github.com/jupnp/jupnp/releases/tag/3.0.0 Signed-off-by: Wouter Born <[email protected]>
Signed-off-by: Jimmy Tanagra <[email protected]>
Signed-off-by: Jimmy Tanagra <[email protected]>
Signed-off-by: Jimmy Tanagra <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.