Package com. codellyrandom. hassle. extending. entities. sensors. binary
Types
Link copied to clipboard
data class ContactAttributes(userId: UserId?, lastChanged: Instant, lastUpdated: Instant, friendlyName: FriendlyName) : Attributes
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class ContactState(value: ContactStateValue) : State<ContactStateValue>
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class DayTimeAttributes(after: Instant, before: Instant, nextUpdate: Instant, userId: UserId?, friendlyName: FriendlyName, lastChanged: Instant, lastUpdated: Instant) : Attributes
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class MotionSensorAttributes(userId: UserId?, friendlyName: FriendlyName, lastChanged: Instant, lastUpdated: Instant) : Attributes
Content copied to clipboard
Functions
Link copied to clipboard
fun HomeAssistantApiClient.ContactSensor(objectId: ObjectId): ContactSensor
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun HomeAssistantApiClient.MotionSensor(objectId: ObjectId): MotionSensor
Content copied to clipboard
Link copied to clipboard
inline fun ContactSensor.onClosed(crossinline f: ContactSensor.(Switchable) -> Unit): Switchable
Content copied to clipboard
Link copied to clipboard
inline fun MotionSensor.onMotionAlarm(crossinline f: MotionSensor.(Switchable) -> Unit): Switchable
Content copied to clipboard
Link copied to clipboard
inline fun MotionSensor.onMotionAlarmCleared(crossinline f: MotionSensor.(Switchable) -> Unit): Switchable
Content copied to clipboard
Link copied to clipboard
inline fun ContactSensor.onOpened(crossinline f: ContactSensor.(Switchable) -> Unit): Switchable
Content copied to clipboard