[avmfritz] Fix wrong system channel types (#15172)

Signed-off-by: Jan N. Klug <github@klug.nrw>
This commit is contained in:
J-N-K
2023-07-03 22:48:03 +02:00
committed by GitHub
parent 6cfb1e295d
commit ae1a7475a7
2 changed files with 48 additions and 4 deletions

View File

@@ -241,7 +241,7 @@
<channel id="locked" typeId="locked"/>
<channel id="device_locked" typeId="device_locked"/>
<channel id="temperature" typeId="temperature"/>
<channel id="energy" typeId="system.electrical-energy">
<channel id="energy" typeId="system.electric-energy">
<label>Energy Consumption</label>
<description>Accumulated energy consumption.</description>
</channel>
@@ -275,7 +275,7 @@
<channel id="locked" typeId="locked"/>
<channel id="device_locked" typeId="device_locked"/>
<channel id="temperature" typeId="temperature"/>
<channel id="energy" typeId="system.electrical-energy">
<channel id="energy" typeId="system.electric-energy">
<label>Energy Consumption</label>
<description>Accumulated energy consumption.</description>
</channel>
@@ -309,7 +309,7 @@
<channel id="mode" typeId="mode"/>
<channel id="locked" typeId="locked"/>
<channel id="device_locked" typeId="device_locked"/>
<channel id="energy" typeId="system.electrical-energy">
<channel id="energy" typeId="system.electric-energy">
<label>Energy Consumption</label>
<description>Accumulated energy consumption.</description>
</channel>
@@ -515,7 +515,7 @@
<channel id="mode" typeId="mode"/>
<channel id="locked" typeId="locked"/>
<channel id="device_locked" typeId="device_locked"/>
<channel id="energy" typeId="system.electrical-energy">
<channel id="energy" typeId="system.electric-energy">
<label>Energy Consumption</label>
<description>Accumulated energy consumption.</description>
</channel>

View File

@@ -15,6 +15,17 @@
<type>system:electrical-voltage</type>
</update-channel>
</instruction-set>
<instruction-set targetVersion="2">
<update-channel id="energy">
<type>system:electric-energy</type>
</update-channel>
<update-channel id="power">
<type>system:electric-power</type>
</update-channel>
<update-channel id="voltage">
<type>system:electric-voltage</type>
</update-channel>
</instruction-set>
</thing-type>
<thing-type uid="avmfritz:FRITZ_DECT_210">
@@ -29,6 +40,17 @@
<type>system:electrical-voltage</type>
</update-channel>
</instruction-set>
<instruction-set targetVersion="2">
<update-channel id="energy">
<type>system:electric-energy</type>
</update-channel>
<update-channel id="power">
<type>system:electric-power</type>
</update-channel>
<update-channel id="voltage">
<type>system:electric-voltage</type>
</update-channel>
</instruction-set>
</thing-type>
<thing-type uid="avmfritz:FRITZ_DECT_200">
@@ -43,6 +65,17 @@
<type>system:electrical-voltage</type>
</update-channel>
</instruction-set>
<instruction-set targetVersion="2">
<update-channel id="energy">
<type>system:electric-energy</type>
</update-channel>
<update-channel id="power">
<type>system:electric-power</type>
</update-channel>
<update-channel id="voltage">
<type>system:electric-voltage</type>
</update-channel>
</instruction-set>
</thing-type>
<thing-type uid="avmfritz:FRITZ_Powerline_546E">
@@ -57,6 +90,17 @@
<type>system:electrical-voltage</type>
</update-channel>
</instruction-set>
<instruction-set targetVersion="2">
<update-channel id="energy">
<type>system:electric-energy</type>
</update-channel>
<update-channel id="power">
<type>system:electric-power</type>
</update-channel>
<update-channel id="voltage">
<type>system:electric-voltage</type>
</update-channel>
</instruction-set>
</thing-type>
<thing-type uid="avmfritz:Comet_DECT">