Initial commit
This commit is contained in:
commit
284fdc1261
16 changed files with 448 additions and 0 deletions
18
NightLight.Core/Lights.fs
Normal file
18
NightLight.Core/Lights.fs
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
module internal NightLight.Lights
|
||||
|
||||
open NightLight.Moods
|
||||
|
||||
type Bulb =
|
||||
| IkeaBulb
|
||||
| PaulmannBulb
|
||||
|
||||
type Color =
|
||||
| ColorByCoordinates of float * float
|
||||
| ColorByTemperature of int
|
||||
|
||||
type Brightness = Brightness of int
|
||||
|
||||
type Light =
|
||||
{ FriendlyName: string
|
||||
Room: Room
|
||||
Bulb: Bulb }
|
||||
Loading…
Add table
Add a link
Reference in a new issue