SmartHomeSwitchState
Namespace: Busy.Bar
State of the device's emulated smart home switch.
public sealed record class SmartHomeSwitchState : System.IEquatable`1[[Busy.Bar.SmartHomeSwitchState, BusyBar, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]
Inheritance Object → SmartHomeSwitchState
Implements IEquatable<SmartHomeSwitchState>
Attributes NullableContextAttribute, NullableAttribute
Properties
State
Current state of the emulated switch.
public bool? State { get; init; }
Property Value
Startup
State of the emulated switch on startup. Never sent by the server, but can be specified by the client.
public SwitchStartup? Startup { get; init; }
Property Value
Constructors
SmartHomeSwitchState(Boolean?, SwitchStartup?)
State of the device's emulated smart home switch.
public SmartHomeSwitchState(bool? State, SwitchStartup? Startup = null)
Parameters
State Boolean?
Current state of the emulated switch.
Startup SwitchStartup?
State of the emulated switch on startup. Never sent by the server, but can be specified by the client.