Skip to content

Commit 718c190

Browse files
committed
Updated workflows to build documentation to use a newer version of Ubuntu
1 parent 55c7891 commit 718c190

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

hue3/webif/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ def get_sensorsdata(self):
241241
# fill status with data of the outdoor sensor
242242
value_dict['data'] = ''
243243
try:
244-
value_dict['data'] = sensor.light.light_level
244+
value_dict['data'] = f"{sensor.light.light_level:,}".replace(",",".") + ' Lux'
245245
except: pass
246246
try:
247247
value_dict['data'] = sensor.motion.motion

hue3/webif/templates/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -639,7 +639,7 @@
639639
<table id="sensorstable"></table>
640640
</div>
641641

642-
{% if true %}
642+
{% if false %}
643643
<br>
644644
{% for sensor in bridge_sensors %}
645645
sensor: {{ bridge_sensors[sensor] }} <br>

0 commit comments

Comments
 (0)