twinkle, led_stahltraeger: use rainbow colors
This commit is contained in:
parent
b8160b3a55
commit
a9619536d4
1 changed files with 2 additions and 2 deletions
|
|
@ -112,7 +112,7 @@ const config : Config = {
|
||||||
name: "LED Stahlträger",
|
name: "LED Stahlträger",
|
||||||
position: [380, 300],
|
position: [380, 300],
|
||||||
icon: "wb_incandescent",
|
icon: "wb_incandescent",
|
||||||
iconColor: state => state.led_stahltraeger == "on" ? "#CCCC00" : "#000000",
|
iconColor: state => state.led_stahltraeger == "on" ? utils.rainbow : "#000000",
|
||||||
ui: [
|
ui: [
|
||||||
{
|
{
|
||||||
type: "toggle",
|
type: "toggle",
|
||||||
|
|
@ -140,7 +140,7 @@ const config : Config = {
|
||||||
name: "Twinkle",
|
name: "Twinkle",
|
||||||
position: [530, 560],
|
position: [530, 560],
|
||||||
icon: "wb_incandescent",
|
icon: "wb_incandescent",
|
||||||
iconColor: state => state.twinkle == "on" ? "#CCCC00" : "#000000",
|
iconColor: state => state.twinkle == "on" ? utils.rainbow : "#000000",
|
||||||
ui: [
|
ui: [
|
||||||
{
|
{
|
||||||
type: "toggle",
|
type: "toggle",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue