diff color.py @ 16:ab80e8826441

doc
author drewp@bigasterisk.com
date Sun, 28 Jan 2024 21:18:11 -0800
parents 9f427d8073c3
children
line wrap: on
line diff
--- a/color.py	Sun Jan 28 21:18:01 2024 -0800
+++ b/color.py	Sun Jan 28 21:18:11 2024 -0800
@@ -12,6 +12,9 @@
 
 @dataclass(frozen=True)
 class Color(DataClassJsonMixin):
+    """This is a target color that should look "the same" on all lights you send
+    it to. We convert it somehow to a DeviceColor which has the color
+    coordinates (maybe not RGB) that get sent to a light."""
     r: float
     g: float
     b: float