Skip to content

Commit

Permalink
Added unitHint to Dimensionless items
Browse files Browse the repository at this point in the history
  • Loading branch information
jsjames committed Jun 10, 2024
1 parent 3660df8 commit 9778cb8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,21 +99,21 @@
</channel-type>

<channel-type id="calciumHardness">
<item-type>Number:Dimensionless</item-type>
<item-type unitHint="ppm">Number:Dimensionless</item-type>
<label>Calcium Hardess</label>
<description>Calcium hardness (ppm).</description>
<state readOnly="true"/>
</channel-type>

<channel-type id="cyaReading">
<item-type>Number:Dimensionless</item-type>
<item-type unitHint="ppm">Number:Dimensionless</item-type>
<label>CYA Reading</label>
<description>Cyanuric acid reading (ppm).</description>
<state readOnly="true"/>
</channel-type>

<channel-type id="alkalinity">
<item-type>Number:Dimensionless</item-type>
<item-type unitHint="ppm">Number:Dimensionless</item-type>
<label>Total Alkalinity</label>
<description>Total Alkalinity reading (ppm).</description>
<state readOnly="true"/>
Expand Down Expand Up @@ -165,7 +165,7 @@
</channel-type>

<channel-type id="saltLevel">
<item-type>Number:Dimensionless</item-type>
<item-type unitHint="ppm">Number:Dimensionless</item-type>
<label>Salt Level (PPM)</label>
<description>Current salt content reading of the water (PPM).</description>
<state readOnly="true"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,14 @@
</thing-type>

<channel-type id="saltOutput">
<item-type>Number:Dimensionless</item-type>
<item-type unitHint="%">Number:Dimensionless</item-type>
<label>Salt Output (%)</label>
<description>Current salt output setting for the chlorinator (%).</description>
<state readOnly="true"/>
</channel-type>

<channel-type id="salinity">
<item-type>Number:Dimensionless</item-type>
<item-type unitHint="ppm">Number:Dimensionless</item-type>
<label>Salinity (PPM)</label>
<description>Current salt content reading of the water (PPM).</description>
<state readOnly="true"/>
Expand Down

0 comments on commit 9778cb8

Please sign in to comment.