Versions in this module Expand all Collapse all v0 v0.21.1 Nov 6, 2024 v0.21.0 Oct 28, 2024 Changes in this version + const FunctionName + const Name + const Version + var F embed.FS + func New() plugins.Pluggable + func NewTrigger(eventBus bus.Bus) triggers.ITrigger + func NewTriggerParams() m.TriggerParams + type EventEntityState struct + Attributes m.AttributeValue + EntityId common.EntityId + LastChanged *time.Time + LastUpdated *time.Time + Settings m.AttributeValue + State *events.EntityState + Value interface{} + type Trigger struct + func (t *Trigger) AsyncAttach(wg *sync.WaitGroup) + func (t *Trigger) FunctionName() string + func (t *Trigger) Name() string + func (t *Trigger) Subscribe(options triggers.Subscriber) error + func (t *Trigger) Unsubscribe(options triggers.Subscriber) error + type TriggerStateChangedMessage struct + DoNotSaveMetric bool + EntityId common.EntityId + NewState EventEntityState + OldState EventEntityState + PluginName string + StorageSave bool