Skip to main content

Device

The device registry reflects Home Assistant devices.

Service Interactions

public propertydescription
currentCurrent array of known devices
listRequest a fresh list of devices from home assistant

Type Defintions

import { TServiceParams } from "@digital-alchemy/core";
import { TDeviceId } from "@digital-alchemy/hass";

export function MyService() {
return {
pickADevice(device_id: TDeviceId) {
//
},
};
}