Fix setpoint parsing error (#11635)

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
This commit is contained in:
mlobstein
2021-11-23 06:18:30 -06:00
committed by GitHub
parent 860244b18b
commit 43ff86c1b4
3 changed files with 19 additions and 18 deletions

View File

@@ -74,7 +74,7 @@ The thermostat information that is retrieved is available as these channels:
radiotherm.map:
```text
```
UNDEF_stus=-
NULL_stus=-
-_stus=-
@@ -117,14 +117,14 @@ NULL_over=-
radiotherm.things:
```java
```
radiothermostat:rtherm:mytherm1 "My 1st floor thermostat" [ hostName="192.168.10.1", refresh=2, logRefresh=10, isCT80=false, disableLogs=false, setpointMode="temporary" ]
radiothermostat:rtherm:mytherm2 "My 2nd floor thermostat" [ hostName="mythermhost2", refresh=1, logRefresh=20, isCT80=true, disableLogs=false, setpointMode="absolute" ]
```
radiotherm.items:
```java
```
Number:Temperature Therm_Temp "Current Temperature [%.1f °F] " <temperature> { channel="radiothermostat:rtherm:mytherm1:temperature" }
// Humidity only supported on CT80
Number Therm_Hum "Current Humidity [%d %%]" <temperature> { channel="radiothermostat:rtherm:mytherm1:humidity" }
@@ -158,7 +158,7 @@ Switch Therm_mysetting "Send my preferred setting"
radiotherm.sitemap:
```perl
```
sitemap radiotherm label="My Thermostat" {
Frame label="My 1st floor thermostat" {
Text item=Therm_Temp icon="temperature" valuecolor=[>76="orange",>67.5="green",<=67.5="blue"]
@@ -196,7 +196,7 @@ sitemap radiotherm label="My Thermostat" {
radiotherm.rules:
```java
```
rule "Send my thermostat command"
when
Item Therm_mysetting received command