Skip to main content

Area

The area registry reflects Home Assistant areas.

Service Interactions

public propertydescription
applyTakes in area + entities, sets area of entity
createCreates a new area in home assitant
currentCurrent array of known areas
deleteRemove an area from home assistant
listRequest a fresh list of areas from home assistant
updateModify an existing area

Type Defintions

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

export function MyService() {
return {
pickAnArea(area_id: TAreaId) {
//
},
};
}