summaryrefslogtreecommitdiffstats
path: root/types.nim
diff options
context:
space:
mode:
authorctucx <c@ctu.cx>2020-09-14 19:51:47 +0200
committerctucx <c@ctu.cx>2020-09-14 19:51:47 +0200
commit41546e24ac1b968a45eb07e6f5cd893ef9a988d7 (patch)
tree32c12d4a05b2e72adb337a4404c1bf9773e807cc /types.nim
parenta68b196a324497583d77f5af12ddb4456e0ca91a (diff)
downloadnimtradfri-41546e24ac1b968a45eb07e6f5cd893ef9a988d7.tar.gz
nimtradfri-41546e24ac1b968a45eb07e6f5cd893ef9a988d7.tar.bz2
nimtradfri-41546e24ac1b968a45eb07e6f5cd893ef9a988d7.zip
update
Diffstat (limited to 'types.nim')
-rw-r--r--types.nim8
1 files changed, 4 insertions, 4 deletions
diff --git a/types.nim b/types.nim
index eefd104..92dd464 100644
--- a/types.nim
+++ b/types.nim
@@ -43,8 +43,8 @@ type
lightHue*: Option[int]
lightSaturation*: Option[int]
lightColorHex*: Option[string]
- lightColorX*: Option[int]
- lightColorY*: Option[int]
+ lightColorX*: Option[float]
+ lightColorY*: Option[float]
lightColorTemperature*: Option[int]
lightBrightness*: int
@@ -89,8 +89,8 @@ type
lightColorHex*: string
of LightSetColorXY:
- lightColorX*: int
- lightColorY*: int
+ lightColorX*: float
+ lightColorY*: float
of LightSetHueSaturation:
lightHue*: int