using influxdb structure independed of nicos cache
@ -18,7 +18,7 @@ def assign_colors_to_curves(blocks):
auto_curves = []
for curve in block["curves"]:
col = curve["color"].strip()
col = curve.get("color", "").strip()
c = ColorMap.to_code(col)
if c < 0:
valid = ColorMap.check_hex(col)
The note is not visible to the blocked user.