mirror of
https://github.com/excaliburpartners/OmniLinkBridge
synced 2025-05-06 17:13:11 +00:00
17 lines
437 B
C#
17 lines
437 B
C#
using Newtonsoft.Json;
|
|
using Newtonsoft.Json.Converters;
|
|
|
|
namespace OmniLinkBridge.MQTT.HomeAssistant
|
|
{
|
|
public class Alarm : Device
|
|
{
|
|
public string command_topic { get; set; }
|
|
|
|
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
|
|
public string command_template { get; set; }
|
|
|
|
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
|
|
public string code { get; set; }
|
|
}
|
|
}
|