Package com. codellyrandom. hassle. extending. entities. actuators. light
Types
Link copied to clipboard
Link copied to clipboard
data class DimmableLightState(value: SwitchableValue, brightness: Brightness?) : State<SwitchableValue>
Content copied to clipboard
Link copied to clipboard
data class LightAttributes(supportedFeatures: Int, userId: UserId?, friendlyName: FriendlyName, lastChanged: Instant, lastUpdated: Instant) : Attributes
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class RGBLightState(value: SwitchableValue, brightness: Brightness?, hsColor: HSColor?, rgbColor: RGBColor?, xyColor: XYColor?) : State<SwitchableValue>
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class RGBWLightState(value: SwitchableValue, brightness: Brightness?, hsColor: HSColor?, rgbColor: RGBColor?, xyColor: XYColor?, colorTemp: ColorTemperature?) : State<SwitchableValue>
Content copied to clipboard
Link copied to clipboard
Functions
Link copied to clipboard
fun HomeAssistantApiClient.DimmableLight(objectId: ObjectId): DimmableLight
Content copied to clipboard
Link copied to clipboard
fun DimmableLight.onTurnedOff(f: DimmableLight.(Switchable) -> Unit): Switchable
Content copied to clipboard
Link copied to clipboard
fun DimmableLight.onTurnedOn(f: DimmableLight.(Switchable) -> Unit): Switchable
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun HomeAssistantApiClient.SwitchableLight(objectId: ObjectId): SwitchableLight
Content copied to clipboard