[amberelectric] Fix nem-time channel (#18727)
* Fix nem-time and provide upgrade Signed-off-by: Paul Smedley <paul@smedley.id.au>pull/18731/head
parent
fe31deff03
commit
ebd0b9a727
|
@ -28,11 +28,15 @@
|
|||
<label>Current Feed-In Status</label>
|
||||
<description>Current price status of Feed-In</description>
|
||||
</channel>
|
||||
<channel id="nem-time" typeId="nemtime"/>
|
||||
<channel id="nem-time" typeId="nem-time"/>
|
||||
<channel id="spike" typeId="spike"/>
|
||||
<channel id="renewables" typeId="renewables"/>
|
||||
</channels>
|
||||
|
||||
<properties>
|
||||
<property name="thingTypeVersion">1</property>
|
||||
</properties>
|
||||
|
||||
<config-description>
|
||||
<parameter name="apiKey" type="text" required="true">
|
||||
<label>API Key</label>
|
||||
|
|
|
@ -0,0 +1,16 @@
|
|||
<?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="amberelectric:service">
|
||||
|
||||
<instruction-set targetVersion="1">
|
||||
<update-channel id="nem-time">
|
||||
<type>amberelectric:nem-time</type>
|
||||
</update-channel>
|
||||
</instruction-set>
|
||||
|
||||
</thing-type>
|
||||
|
||||
</update:update-descriptions>
|
Loading…
Reference in New Issue