life-cycle-event

All events that relate to the lifecycle of a block inherit from this event

Name life-cycle-event
Type Interface
Path packages/blocks/src/types/hass-blocks-event.ts

Properties

Name Type Description
block SerialisedBlock A serialised version of the block being executed
executeId string A unique uuid that is generated for all events associated with a single execution of a given block. This uuid is different every time the block is executed but the same for all of the lifecycle events associated with that execution
name string The name of the block being executed
triggerId string A unique uuid generated each time a trigger is fired. All blocks that are executed as a result of that trigger will get the same triggerId