entities_bulk_control
Perform bulk turn-on, turn-off, or toggle operations on a list of entities. Groups by domain to minimize service calls.
Instructions
Bulk turn_on/turn_off/toggle a list of entities.
Groups entities by domain and issues one service call per domain
(e.g. all light.* get a single light.turn_on).
action must be one of: "turn_on", "turn_off", "toggle".
Returns dict mapping domain -> count of entities affected.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity_ids | Yes | ||
| action | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||