So sieht das Item aus
Code: Alles auswählen
String temperatur_wohnung "Wohnung [%s °C]" <self_temperature> {homekit="TemperatureSensor [minValue=10, maxValue=35] ", channel="exec:command:temperatur_wohnung:output"}
openHAB 3.3.0 (Raspbian Bullseye)
Code: Alles auswählen
String temperatur_wohnung "Wohnung [%s °C]" <self_temperature> {homekit="TemperatureSensor [minValue=10, maxValue=35] ", channel="exec:command:temperatur_wohnung:output"}
Code: Alles auswählen
Number temperatur_wohnung "Wohnung [%.1f °C]" <self_temperature> {homekit="TemperatureSensor [minValue=10, maxValue=35] ", channel="exec:command:temperatur_wohnung:output" [profile="transform:JS",function="dummy.js"]}
Code: Alles auswählen
(function(i) {
return i;
})(input)
Code: Alles auswählen
[profile="transform:REGEX",function="(.*)"]
Code: Alles auswählen
echo 25
Code: Alles auswählen
Number temperatur_wohnung "Wohnung [%s °C]" <self_temperature> {homekit="TemperatureSensor", channel="exec:command:temperatur_wohnung:output" [profile="transform:JS",function="dummy.js"]}
Code: Alles auswählen
homekit="TemperatureSensor"