-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[http] Use core channel updates (#553)
Signed-off-by: Jan N. Klug <github@klug.nrw>
- Loading branch information
Showing
3 changed files
with
21 additions
and
5 deletions.
There are no files selected for viewing
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
19 changes: 19 additions & 0 deletions
19
bundles/org.smarthomej.binding.http/src/main/resources/OH-INF/update/instructions.xml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> | ||
<update:update-descriptions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xmlns:update="https://openhab.org/schemas/update-description/v1.0.0" | ||
xsi:schemaLocation="https://openhab.org/schemas/update-description/v1.0.0 https://openhab.org/schemas/update-description-1.0.0.xsd"> | ||
|
||
<thing-type uid="http:url"> | ||
<instruction-set targetVersion="1"> | ||
<add-channel id="lastSuccess"> | ||
<type>http:requestDateTime</type> | ||
<label>Last Success</label> | ||
</add-channel> | ||
<add-channel id="lastFailure"> | ||
<type>http:requestDateTime</type> | ||
<label>Last Failure</label> | ||
</add-channel> | ||
</instruction-set> | ||
</thing-type> | ||
|
||
</update:update-descriptions> |
3 changes: 0 additions & 3 deletions
3
bundles/org.smarthomej.binding.http/src/main/resources/update/url.update
This file was deleted.
Oops, something went wrong.