ESPCDFScene
ESPCDFScene is a named preset that applies device params across one or more nodes in a single call. Use it when you implement scene feature.
Scenes are created with group.createScene and stored in SceneStore. Read them with sceneStore.getScene or sceneStore.sceneList.
Constructor requires id and name. Mutations use runAndEmit; SceneStoreSynchronizer keeps the store in sync.
Properties
| Property | Type | Description |
|---|---|---|
id / name | string | Required identity |
nodes | string[] | Participating node IDs |
actions | nested map | Per-node device actions |
devicesCount | number | UI helper count |
adaptorIdentifier | optional | Source adaptor |
operations | ESPCDFSceneOperation | SDK delegates |
_raw | any | Original SDK scene |
events | ESPCDFOperationEventEmitter | Operation bus |

