[airthings] Fix thing types (#15013)
Signed-off-by: Jan N. Klug <github@klug.nrw>
This commit is contained in:
parent
1b7dbd7ef9
commit
0724c3febc
|
@ -132,13 +132,13 @@
|
|||
<state readOnly="true" pattern="%.0f %unit%"/>
|
||||
</channel-type>
|
||||
<channel-type id="airthings_radon_st_avg">
|
||||
<item-type>Number:Density</item-type>
|
||||
<item-type>Number:RadiationSpecificActivity</item-type>
|
||||
<label>Radon Short Term Average Level</label>
|
||||
<description>Radon gas level</description>
|
||||
<state readOnly="true" pattern="%.0f %unit%"/>
|
||||
</channel-type>
|
||||
<channel-type id="airthings_radon_lt_avg">
|
||||
<item-type>Number:Density</item-type>
|
||||
<item-type>Number:RadiationSpecificActivity</item-type>
|
||||
<label>Radon Long Term Average Level</label>
|
||||
<description>Radon gas level</description>
|
||||
<state readOnly="true" pattern="%.0f %unit%"/>
|
||||
|
|
|
@ -0,0 +1,28 @@
|
|||
<?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="bluetooth:airthings_wave_gen1">
|
||||
<instruction-set targetVersion="1">
|
||||
<update-channel id="radon_st_avg">
|
||||
<type>bluetooth:airthings_radon_st_avg</type>
|
||||
</update-channel>
|
||||
<update-channel id="radon_lt_avg">
|
||||
<type>bluetooth:airthings_radon_lt_avg</type>
|
||||
</update-channel>
|
||||
</instruction-set>
|
||||
</thing-type>
|
||||
|
||||
<thing-type uid="bluetooth:airthings_wave_plus">
|
||||
<instruction-set targetVersion="1">
|
||||
<update-channel id="radon_st_avg">
|
||||
<type>bluetooth:airthings_radon_st_avg</type>
|
||||
</update-channel>
|
||||
<update-channel id="radon_lt_avg">
|
||||
<type>bluetooth:airthings_radon_lt_avg</type>
|
||||
</update-channel>
|
||||
</instruction-set>
|
||||
</thing-type>
|
||||
|
||||
</update:update-descriptions>
|
Loading…
Reference in New Issue