Fix VSCode throwing a fit about no backticks

This commit is contained in:
2025-07-07 21:32:42 -04:00
parent d55ad66264
commit c9e4a11604
6 changed files with 12 additions and 12 deletions

View File

@ -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 '';
})()}
})()}`