Page 1 of 1
icon light difference
Posted: Monday 06 June 2022 17:02
by marktn
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.
Re: icon light difference
Posted: Monday 06 June 2022 19:40
by HansieNL
marktn wrote: Monday 06 June 2022 17:02
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.
You can change the icon with the parameter iconOn / iconOff in your block config.
See
https://dashticz.readthedocs.io/ how to use that parameter.
Re: icon light difference
Posted: Friday 10 June 2022 18:56
by marktn
HansieNL wrote: Monday 06 June 2022 19:40
marktn wrote: Monday 06 June 2022 17:02
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.
You can change the icon with the parameter iconOn / iconOff in your block config.
See
https://dashticz.readthedocs.io/ how to use that parameter.
Sorry for my late response, thanks for helping!
Nice these icons!
Is it also possible to make the bulb yellow? It is know gray, highlighted
Re: icon light difference
Posted: Friday 10 June 2022 21:36
by HansieNL
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';
Re: icon light difference
Posted: Friday 10 June 2022 21:43
by marktn
Yes that works. Thanks for the support!!