Skip to main content

Zone

The zone registry reflects Home Assistant zones.

Service Interactions

public propertydescription
createCreates a new zone in home assitant
currentCurrent array of known zones
listRequest a fresh list of zones from home assistant
updateModify an existing zone

Type Defintions

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

export function MyService() {
return {
pickAZone(zone_id: TZoneId) {
//
},
};
}