Fix VSCode throwing a fit about no backticks
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
${(() => {
|
||||
`${(() => {
|
||||
const occupancy = hass?.states[this.config?.main_button_floors?.occupancy_entity]?.state || '';
|
||||
const hot = hass?.states[this.config?.main_button_floors?.hot_entity]?.state || '';
|
||||
const cold = hass?.states[this.config?.main_button_floors?.cold_entity]?.state || '';
|
||||
@ -39,4 +39,4 @@ ${(() => {
|
||||
|
||||
// No CSS string needed
|
||||
return '';
|
||||
})()}
|
||||
})()}`
|
||||
|
@ -1,4 +1,4 @@
|
||||
${(() => {
|
||||
`${(() => {
|
||||
const occupancy = hass?.states[this.config?.main_button_outdoors?.occupancy_entity]?.state || '';
|
||||
|
||||
let bg_color = 'var(--bubble-main-background-color)';
|
||||
@ -21,4 +21,4 @@ ${(() => {
|
||||
|
||||
// No CSS string needed
|
||||
return '';
|
||||
})()}
|
||||
})()}`
|
||||
|
@ -1,4 +1,4 @@
|
||||
${(() => {
|
||||
`${(() => {
|
||||
const state = hass?.states[this.config?.entity]?.state || '';
|
||||
|
||||
let bg_color = 'var(--bubble-main-background-color)';
|
||||
@ -21,4 +21,4 @@ ${(() => {
|
||||
|
||||
// No CSS string needed
|
||||
return '';
|
||||
})()}
|
||||
})()}`
|
||||
|
@ -1,4 +1,4 @@
|
||||
${(() => {
|
||||
`${(() => {
|
||||
const state = hass?.states[this.config?.entity]?.state || '';
|
||||
|
||||
let bg_color = 'var(--background-color-2)';
|
||||
@ -21,4 +21,4 @@ ${(() => {
|
||||
|
||||
// No CSS string needed
|
||||
return '';
|
||||
})()}
|
||||
})()}`
|
||||
|
@ -1,4 +1,4 @@
|
||||
${(() => {
|
||||
`${(() => {
|
||||
const state = hass?.states[this.config?.entity]?.state || '';
|
||||
|
||||
let bg_color = 'var(--background-color-2)';
|
||||
@ -21,4 +21,4 @@ ${(() => {
|
||||
|
||||
// No CSS string needed
|
||||
return '';
|
||||
})()}
|
||||
})()}`
|
||||
|
@ -1,4 +1,4 @@
|
||||
${(() => {
|
||||
`${(() => {
|
||||
const hot = hass?.states[this.config?.popup_temperature_button?.hot_entity]?.state || '';
|
||||
const cold = hass?.states[this.config?.popup_temperature_button?.cold_entity]?.state || '';
|
||||
|
||||
@ -29,4 +29,4 @@ ${(() => {
|
||||
|
||||
// No CSS string needed
|
||||
return '';
|
||||
})()}
|
||||
})()}`
|
||||
|
Reference in New Issue
Block a user