Thomas Buck 1 year ago
parent
commit
f0fbb4ab07
2 changed files with 6 additions and 6 deletions
  1. 2
    2
      lights/index.html
  2. 4
    4
      lights/lights.js

+ 2
- 2
lights/index.html View File

@@ -124,7 +124,7 @@
124 124
 
125 125
                     <div class="row">
126 126
                         <div class="col text-end">
127
-                            <p>eCO2</p>
127
+                            <p>eCO<sub>2</sub></p>
128 128
                         </div>
129 129
                         <div class="col text-start" id="batheco2">
130 130
                             <p>Unknown</p>
@@ -263,7 +263,7 @@
263 263
 
264 264
                     <div class="row">
265 265
                         <div class="col text-end">
266
-                            <p>eCO2</p>
266
+                            <p>eCO<sub>2</sub></p>
267 267
                         </div>
268 268
                         <div class="col text-start" id="livingeco2">
269 269
                             <p>Unknown</p>

+ 4
- 4
lights/lights.js View File

@@ -97,8 +97,8 @@ for (const btn of btnsKitchen) {
97 97
     })
98 98
 }
99 99
 
100
-const state_light_pc = 0
101
-const state_light_bench = 0
100
+let state_light_pc = 0
101
+let state_light_bench = 0
102 102
 
103 103
 function setWorkspaceLightsButtons() {
104 104
     // clear all buttons
@@ -177,8 +177,8 @@ for (const btn of btnsWorkspace) {
177 177
     })
178 178
 }
179 179
 
180
-const state_light_amp = 0
181
-const state_light_box = 0
180
+let state_light_amp = 0
181
+let state_light_box = 0
182 182
 
183 183
 function setTvLightsButtons() {
184 184
     // clear all buttons

Loading…
Cancel
Save