Ciao,
Willing to reflect a text custom device icon with another one based on its value... but got a problem in update it...
my code include:
local myTextDev = dz.devices('Text Device')
dz.log(myTextDev.icon)
-- return 'text'
myTextDev.icon = 'My custom Icon'
dz.log(myTextDev.icon)
-- return 'My custom Icon'
but I did not see any change in the device layout....
is there the possibility to update it?
thanks
ciao
M
Replace Custom Sensor Icon
Moderator: leecollings
- emme
- Posts: 909
- Joined: Monday 27 June 2016 11:02
- Target OS: Raspberry Pi / ODroid
- Domoticz version: latest
- Location: Milano, Italy
- Contact:
Replace Custom Sensor Icon
The most dangerous phrase in any language is:
"We always done this way"
"We always done this way"
Who is online
Users browsing this forum: Bing [Bot], Google [Bot] and 1 guest