Hello,
how I get the selected icon of a relay switch with LUA?
1. the icon when the contact is closed
2. the icon if the contact is open
local icon = fibaro:getValue(deviceID, "deviceIcon")
fibaro:debug(icon)
With this LUA script I only get one ID; likely when the contact is open.