import type { ServerApiManager } from "../server/server-api-manager.js"; import type { CallServiceResponse } from "../types/hass.js"; /** * High-level helpers around {@link ServerApiManager.callService} for common entity actions * (on/off/toggle, automations, scripts, scenes). */ export declare class EntityActionsManager { private readonly server; constructor(server: ServerApiManager); /** * Turn entity “on” (or equivalent: lock, open cover, open valve, etc.). * All `entity_id` values must share the same domain in one call. */ turnOn(entityId: string | string[], serviceData?: Record): Promise; /** * Turn entity “off” (or equivalent: unlock, close cover, close valve, disable automation, …). */ turnOff(entityId: string | string[], serviceData?: Record): Promise; /** * Toggle entity state. Not supported for `lock` (use {@link turnOn} / {@link turnOff}). */ toggle(entityId: string | string[], serviceData?: Record): Promise; /** * Enable or disable an `automation.*` entity (same as UI on/off). */ setAutomationEnabled(entityId: string, enabled: boolean, serviceData?: Record): Promise; /** * Run a `script.*` entity (`script.turn_on`). */ triggerScript(entityId: string, serviceData?: Record): Promise; /** * Activate a `scene.*` entity (`scene.turn_on`). */ activateScene(entityId: string, serviceData?: Record): Promise; /** * Generic on/off for any entity that supports the resolved services (e.g. switch, light, automation). */ setActive(entityId: string | string[], active: boolean, serviceData?: Record): Promise; private invoke; } //# sourceMappingURL=entity-actions-manager.d.ts.map