Move some types

This commit is contained in:
Sven van Heugten 2026-01-17 11:38:55 +01:00
parent 275a0677eb
commit 78a692bd43
3 changed files with 10 additions and 11 deletions

View file

@ -2,11 +2,6 @@ module internal NightLight.Core.ZigbeeCommands
open System.Text.Json.Nodes
open NightLight.Core.Models
open NightLight.Core.Moods
type State =
| On
| Off
let toZigbeeCommand light payload =
let topic = $"zigbee2mqtt/{light.FriendlyName.Get}/set"