Hi,
Why is there a difference between an virtual switch Icon and normal switch Icon? I like to have the bulb light.
Can i change that? The upper icon is a virtual switch.
icon light difference
Moderators: leecollings, htilburgs, robgeerts
icon light difference
- Attachments
-
- firefox_2022-06-06_16-57-31.jpg (6.34 KiB) Viewed 413 times
Domoticz latest stable, Intel NUC, Proxmox, Zigate, RFLink, Kaku switches, Ikea lights, Xiaomi sensors, Honeywell smoke detectors, Yeelight, Shelly, Slave Domoticz PI 3B+, Node-Red, Espeasy.
- HansieNL
- Posts: 964
- Joined: Monday 28 September 2015 15:13
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: icon light difference
You can change the icon with the parameter iconOn / iconOff in your block config.
See https://dashticz.readthedocs.io/ how to use that parameter.
Blah blah blah
Re: icon light difference
Sorry for my late response, thanks for helping!HansieNL wrote: ↑Monday 06 June 2022 19:40You can change the icon with the parameter iconOn / iconOff in your block config.
See https://dashticz.readthedocs.io/ how to use that parameter.
Nice these icons!
Is it also possible to make the bulb yellow? It is know gray, highlighted
Domoticz latest stable, Intel NUC, Proxmox, Zigate, RFLink, Kaku switches, Ikea lights, Xiaomi sensors, Honeywell smoke detectors, Yeelight, Shelly, Slave Domoticz PI 3B+, Node-Red, Espeasy.
- HansieNL
- Posts: 964
- Joined: Monday 28 September 2015 15:13
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: icon light difference
Can you try with the following code:
blocks[groep_woonk_zacht_switch]['iconOn'] = 'fas fa-lightbulb';
blocks[groep_woonk_zacht_switch]['iconOff'] = 'fas fa-lightbulb';
blocks[groep_woonk_zacht_switch]['iconOn'] = 'fas fa-lightbulb';
blocks[groep_woonk_zacht_switch]['iconOff'] = 'fas fa-lightbulb';
Blah blah blah
Re: icon light difference
Yes that works. Thanks for the support!!
Domoticz latest stable, Intel NUC, Proxmox, Zigate, RFLink, Kaku switches, Ikea lights, Xiaomi sensors, Honeywell smoke detectors, Yeelight, Shelly, Slave Domoticz PI 3B+, Node-Red, Espeasy.
Who is online
Users browsing this forum: No registered users and 1 guest