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 occupancy = hass?.states[this.config?.main_button_floors?.occupancy_entity]?.state || '';
|
||||||
const hot = hass?.states[this.config?.main_button_floors?.hot_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 || '';
|
const cold = hass?.states[this.config?.main_button_floors?.cold_entity]?.state || '';
|
||||||
@@ -39,4 +39,4 @@ ${(() => {
|
|||||||
|
|
||||||
// No CSS string needed
|
// No CSS string needed
|
||||||
return '';
|
return '';
|
||||||
})()}
|
})()}`
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
${(() => {
|
`${(() => {
|
||||||
const occupancy = hass?.states[this.config?.main_button_outdoors?.occupancy_entity]?.state || '';
|
const occupancy = hass?.states[this.config?.main_button_outdoors?.occupancy_entity]?.state || '';
|
||||||
|
|
||||||
let bg_color = 'var(--bubble-main-background-color)';
|
let bg_color = 'var(--bubble-main-background-color)';
|
||||||
@@ -21,4 +21,4 @@ ${(() => {
|
|||||||
|
|
||||||
// No CSS string needed
|
// No CSS string needed
|
||||||
return '';
|
return '';
|
||||||
})()}
|
})()}`
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
${(() => {
|
`${(() => {
|
||||||
const state = hass?.states[this.config?.entity]?.state || '';
|
const state = hass?.states[this.config?.entity]?.state || '';
|
||||||
|
|
||||||
let bg_color = 'var(--bubble-main-background-color)';
|
let bg_color = 'var(--bubble-main-background-color)';
|
||||||
@@ -21,4 +21,4 @@ ${(() => {
|
|||||||
|
|
||||||
// No CSS string needed
|
// No CSS string needed
|
||||||
return '';
|
return '';
|
||||||
})()}
|
})()}`
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
${(() => {
|
`${(() => {
|
||||||
const state = hass?.states[this.config?.entity]?.state || '';
|
const state = hass?.states[this.config?.entity]?.state || '';
|
||||||
|
|
||||||
let bg_color = 'var(--background-color-2)';
|
let bg_color = 'var(--background-color-2)';
|
||||||
@@ -21,4 +21,4 @@ ${(() => {
|
|||||||
|
|
||||||
// No CSS string needed
|
// No CSS string needed
|
||||||
return '';
|
return '';
|
||||||
})()}
|
})()}`
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
${(() => {
|
`${(() => {
|
||||||
const state = hass?.states[this.config?.entity]?.state || '';
|
const state = hass?.states[this.config?.entity]?.state || '';
|
||||||
|
|
||||||
let bg_color = 'var(--background-color-2)';
|
let bg_color = 'var(--background-color-2)';
|
||||||
@@ -21,4 +21,4 @@ ${(() => {
|
|||||||
|
|
||||||
// No CSS string needed
|
// No CSS string needed
|
||||||
return '';
|
return '';
|
||||||
})()}
|
})()}`
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
${(() => {
|
`${(() => {
|
||||||
const hot = hass?.states[this.config?.popup_temperature_button?.hot_entity]?.state || '';
|
const hot = hass?.states[this.config?.popup_temperature_button?.hot_entity]?.state || '';
|
||||||
const cold = hass?.states[this.config?.popup_temperature_button?.cold_entity]?.state || '';
|
const cold = hass?.states[this.config?.popup_temperature_button?.cold_entity]?.state || '';
|
||||||
|
|
||||||
@@ -29,4 +29,4 @@ ${(() => {
|
|||||||
|
|
||||||
// No CSS string needed
|
// No CSS string needed
|
||||||
return '';
|
return '';
|
||||||
})()}
|
})()}`
|
||||||
|
|||||||
Reference in New Issue
Block a user