Package com. codellyrandom. hassle. extending. entities. sensors
Types
Link copied to clipboard
data class LuminanceAttributes(unitOfMeasurement: UnitOfMeasurement, userId: UserId?, lastChanged: Instant, lastUpdated: Instant, friendlyName: FriendlyName) : Attributes
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class PersonAttributes(source: EntityId, id: PersonId, userId: UserId?, friendlyName: FriendlyName, lastChanged: Instant, lastUpdated: Instant) : Attributes
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class SunAttributes(nextDawn: Instant, nextDusk: Instant, nextMidnight: Instant, nextNoon: Instant, nextRising: Instant, nextSetting: Instant, elevation: Elevation, azimuth: Azimuth, rising: Rising, userId: UserId?, lastChanged: Instant, lastUpdated: Instant, friendlyName: FriendlyName) : Attributes
Content copied to clipboard
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun HomeAssistantApiClient.LuminanceSensor(objectId: ObjectId): LuminanceSensor
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun Person.onArrivedHome(crossinline f: Person.(Switchable) -> Unit): Switchable
Content copied to clipboard
Link copied to clipboard
inline fun Person.onLeftHome(crossinline f: Person.(Switchable) -> Unit): Switchable
Content copied to clipboard
Link copied to clipboard
inline fun <S : State<*>, A : Attributes, SV> Sensor<S, A>.onMeasurementValueChangedFrom(values: Pair<SV, SV>, crossinline f: Sensor<S, A>.(Switchable) -> Unit): Switchable
Content copied to clipboard
inline fun <S : State<*>, A : Attributes, SV> Sensor<S, A>.onMeasurementValueChangedFrom(values: Triple<SV, SV, SV>, crossinline f: Sensor<S, A>.(Switchable) -> Unit): Switchable
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun <A : Attributes> Sensor<SwitchableState, A>.onTurnedOff(crossinline f: Sensor<SwitchableState, A>.(Switchable) -> Unit): Switchable
Content copied to clipboard
Link copied to clipboard
inline fun <A : Attributes> Sensor<SwitchableState, A>.onTurnedOn(crossinline f: Sensor<SwitchableState, A>.(Switchable) -> Unit): Switchable
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard