[airvisualnode] Support AirVisual Pro version (#8686)
* [airvisualnode] Support AirVisual Pro version * [airvisualnode] Autodetect Pro version * [airvisualnode] Remove unused channels Signed-off-by: Oleg Davydyuk <ilveann@gmail.com>
This commit is contained in:
@@ -14,7 +14,9 @@
|
||||
<channel id="co2" typeId="Co2"/>
|
||||
<channel id="humidity" typeId="Humidity"/>
|
||||
<channel id="aqi" typeId="Aqi"/>
|
||||
<channel id="pm_01" typeId="Pm_01"/>
|
||||
<channel id="pm_25" typeId="Pm_25"/>
|
||||
<channel id="pm_10" typeId="Pm_10"/>
|
||||
<channel id="temperature" typeId="Temperature"/>
|
||||
<channel id="timestamp" typeId="Timestamp"/>
|
||||
<channel id="used_memory" typeId="Used_memory"/>
|
||||
@@ -90,6 +92,20 @@
|
||||
<state readOnly="true" pattern="%.1f %unit%"/>
|
||||
</channel-type>
|
||||
|
||||
<channel-type id="Pm_10">
|
||||
<item-type>Number:Density</item-type>
|
||||
<label>PM10</label>
|
||||
<description>PM10 level, µg/m³(Only in Pro version)</description>
|
||||
<state readOnly="true" pattern="%.1f %unit%"/>
|
||||
</channel-type>
|
||||
|
||||
<channel-type id="Pm_01">
|
||||
<item-type>Number:Density</item-type>
|
||||
<label>PM0.1</label>
|
||||
<description>PM0.1 level, µg/m³(Only in Pro version)</description>
|
||||
<state readOnly="true" pattern="%.1f %unit%"/>
|
||||
</channel-type>
|
||||
|
||||
<channel-type id="Temperature">
|
||||
<item-type>Number:Temperature</item-type>
|
||||
<label>Temperature</label>
|
||||
|
||||
Reference in New Issue
Block a user