sub
pv_solaredge_actual_power() {
my $title = ReadingsVal("Solaredge", "pv_actual_power", "");
return $title;
}
Ich möchte das sie dazu noch eine Einheit nennt das Reading gibt nur eine Zahl aus z.B. 120. ich möchte aber das sie noch Watt dazu sagt.
Danke
Gruß Jan
my $title = ReadingsVal("Solaredge", "pv_actual_power", "")." Watt";