Move some types
This commit is contained in:
parent
275a0677eb
commit
78a692bd43
3 changed files with 10 additions and 11 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue