[amberelectric] Fix nem-time channel (#18727)

* Fix nem-time and provide upgrade

Signed-off-by: Paul Smedley <paul@smedley.id.au>
pull/18731/head
Paul Smedley 2025-05-30 16:15:44 +09:30 committed by GitHub
parent fe31deff03
commit ebd0b9a727
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 21 additions and 1 deletions

View File

@ -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>

View File

@ -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>