HasHomeDevices

interface HasHomeDevices

HomeManager

The Home Manager interface allows accessing devices and structures visible to the caller based on the context provided during initialization.

Room

An object that represents a Room in a Structure.

Structure

The top-level organizing construct for the Home.


Query devices within the implementation context (HomeManager, Structure, Room) the caller has permissions to access.

Summary

Public functions

HomeObjectsFlow<HomeDevice>

Gets an observable flow of HomeDevices visible to the logged-in user, dependent on the context of the implementation (HomeManager, Structure, Room).

Public functions

devices

fun devices(): HomeObjectsFlow<HomeDevice>

Gets an observable flow of HomeDevices visible to the logged-in user, dependent on the context of the implementation (HomeManager, Structure, Room).

Returns
HomeObjectsFlow<HomeDevice>

a flow of HomeDevices.