Turn Message into a record type

This commit is contained in:
Sven van Heugten 2026-01-03 19:34:33 +01:00
parent ab6e123efc
commit 10e26a4866
4 changed files with 10 additions and 14 deletions

View file

@ -22,4 +22,4 @@ let generateZigbeeCommand friendlyName targetColor targetBrightness =
let topic = $"zigbee2mqtt/{friendlyName}/set"
let payload = commandObj.ToJsonString()
Message(topic, payload)
{ Topic = topic; Payload = payload }