mirror of
https://github.com/excaliburpartners/OmniLinkBridge
synced 2025-05-06 17:13:11 +00:00
19 lines
430 B
C#
19 lines
430 B
C#
namespace OmniLinkBridge.MQTT.HomeAssistant
|
|
{
|
|
public class Light : Device
|
|
{
|
|
public Light(DeviceRegistry deviceRegistry) : base(deviceRegistry)
|
|
{
|
|
|
|
}
|
|
|
|
public string command_topic { get; set; }
|
|
|
|
public string brightness_state_topic { get; set; }
|
|
|
|
public string brightness_command_topic { get; set; }
|
|
|
|
public int brightness_scale { get; private set; } = 100;
|
|
}
|
|
}
|