Cammelcase is the new snakecase
This commit is contained in:
parent
ff29ae7d5b
commit
741314ac8d
1 changed files with 11 additions and 11 deletions
|
|
@ -28,7 +28,7 @@ const config: Config = {
|
||||||
},
|
},
|
||||||
defaultValue: "off"
|
defaultValue: "off"
|
||||||
},
|
},
|
||||||
snackbar_dimmmer: {
|
snackbarDimmmer: {
|
||||||
state: {
|
state: {
|
||||||
name: "/service/snackbar/Dimmer",
|
name: "/service/snackbar/Dimmer",
|
||||||
type: types.string
|
type: types.string
|
||||||
|
|
@ -39,7 +39,7 @@ const config: Config = {
|
||||||
},
|
},
|
||||||
defaultValue: "0"
|
defaultValue: "0"
|
||||||
},
|
},
|
||||||
snackbar_scheme: {
|
snackbarScheme: {
|
||||||
state: {
|
state: {
|
||||||
name: "/service/snackbar/Scheme",
|
name: "/service/snackbar/Scheme",
|
||||||
type: types.string
|
type: types.string
|
||||||
|
|
@ -50,7 +50,7 @@ const config: Config = {
|
||||||
},
|
},
|
||||||
defaultValue: "0"
|
defaultValue: "0"
|
||||||
},
|
},
|
||||||
snackbar_speed: {
|
snackbarSpeed: {
|
||||||
state: {
|
state: {
|
||||||
name: "/service/snackbar/Speed",
|
name: "/service/snackbar/Speed",
|
||||||
type: types.string
|
type: types.string
|
||||||
|
|
@ -61,7 +61,7 @@ const config: Config = {
|
||||||
},
|
},
|
||||||
defaultValue: "0"
|
defaultValue: "0"
|
||||||
},
|
},
|
||||||
snackbar_led_online: {
|
snackbarLedOnline: {
|
||||||
state: {
|
state: {
|
||||||
name: "tele/tasmota-snackbar/LWT",
|
name: "tele/tasmota-snackbar/LWT",
|
||||||
type: types.option({ Online: "on", online: "on", Offline: "off", offline: "off" })
|
type: types.option({ Online: "on", online: "on", Offline: "off", offline: "off" })
|
||||||
|
|
@ -241,13 +241,13 @@ const config: Config = {
|
||||||
{
|
{
|
||||||
type: "text",
|
type: "text",
|
||||||
text: "LED-Streifen",
|
text: "LED-Streifen",
|
||||||
topic: "snackbar_led_online",
|
topic: "snackbarLedOnline",
|
||||||
icon: mdi("white-balance-iridescent")
|
icon: mdi("white-balance-iridescent")
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
type: "dropDown",
|
type: "dropDown",
|
||||||
text: "Modus",
|
text: "Modus",
|
||||||
topic: "snackbar_scheme",
|
topic: "snackbarScheme",
|
||||||
options: {
|
options: {
|
||||||
"0": "Single Color",
|
"0": "Single Color",
|
||||||
"2": "Cycle RGB",
|
"2": "Cycle RGB",
|
||||||
|
|
@ -262,25 +262,25 @@ const config: Config = {
|
||||||
"12": "Fire Pattern"
|
"12": "Fire Pattern"
|
||||||
},
|
},
|
||||||
icon: mdi("settings"),
|
icon: mdi("settings"),
|
||||||
enableCondition: ({ snackbar_led_online }) => snackbar_led_online == "on"
|
enableCondition: ({ snackbarLedOnline }) => snackbarLedOnline == "on"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
type: "slider",
|
type: "slider",
|
||||||
text: "Helligkeit",
|
text: "Helligkeit",
|
||||||
topic: "snackbar_dimmmer",
|
topic: "snackbarDimmmer",
|
||||||
min: 0,
|
min: 0,
|
||||||
max: 100,
|
max: 100,
|
||||||
icon: mdi("brightness-7"),
|
icon: mdi("brightness-7"),
|
||||||
enableCondition: ({ snackbar_led_online }) => snackbar_led_online == "on"
|
enableCondition: ({ snackbarLedOnline }) => snackbarLedOnline == "on"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
type: "slider",
|
type: "slider",
|
||||||
text: "Animations-Geschwindigkeit",
|
text: "Animations-Geschwindigkeit",
|
||||||
topic: "snackbar_speed",
|
topic: "snackbarSpeed",
|
||||||
min: 0,
|
min: 0,
|
||||||
max: 20,
|
max: 20,
|
||||||
icon: mdi("speedometer"),
|
icon: mdi("speedometer"),
|
||||||
enableCondition: ({ snackbar_led_online }) => snackbar_led_online == "on"
|
enableCondition: ({ snackbarLedOnline }) => snackbarLedOnline == "on"
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue