PowerStationMonitor/openhab2/rules/convert_values_dcsupply.rul...

7 lines
178 B
Plaintext

/*rule "Convert Voltage"
when
Item DC_Supply_Voltage changed
then
DC_Supply_Voltage.postUpdate(String::format("%1.2f",DC_Supply_Voltage.state as DecimalType / 10))
end
*/