Introduce the Models module in order to make others internal

This commit is contained in:
Sven van Heugten 2026-01-03 19:24:37 +01:00
parent 915d01e086
commit c377ec25dc
6 changed files with 31 additions and 26 deletions

View file

@ -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