Introduce the Models module in order to make others internal
This commit is contained in:
parent
915d01e086
commit
c377ec25dc
6 changed files with 31 additions and 26 deletions
|
|
@ -1,11 +1,10 @@
|
|||
module NightLight.ZigbeeCommands
|
||||
module internal NightLight.ZigbeeCommands
|
||||
|
||||
open System.Text.Json.Nodes
|
||||
open NightLight.Models
|
||||
open NightLight.Lights
|
||||
|
||||
type ZigbeeCommand = ZigbeeCommand of Topic: string * Payload: string
|
||||
|
||||
let internal generateZigbeeCommand friendlyName targetColor targetBrightness =
|
||||
let generateZigbeeCommand friendlyName targetColor targetBrightness =
|
||||
let commandObj = JsonObject()
|
||||
|
||||
match targetColor with
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue