Code: Select all
Domoticz.Device(Name="Power", Unit=1, TypeName="kWh").Create()
Code: Select all
Devices[Unit].Update(nValue=nValue, sValue=str(sValue))
1. I expected to get the nValue (=15) in to top right corner. Now nValue and sValue (='Produced...Watt') are both shown as text.
How do I get nValue in the top right corner?
2. If I click on the Edit button, change Type from Usage to Return and click on Update, the change is not updated, so also the icon will not change.
How can I enable the possibility to change the Usage or how can I change the icon as shown in: