events

package
Version: v0.5.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 7, 2022 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EventAddedActor

type EventAddedActor struct {
	PluginName string          `json:"plugin_name"`
	EntityId   common.EntityId `json:"entity_id"`
	Attributes m.Attributes    `json:"attributes"`
	Settings   m.Attributes    `json:"settings"` //???
}

EventAddedActor ...

type EventAddedTask

type EventAddedTask struct {
	Id int64 `json:"id"`
}

EventAddedTask ...

type EventCallAction

type EventCallAction struct {
	PluginName string                 `json:"plugin_name"`
	EntityId   common.EntityId        `json:"entity_id"`
	ActionName string                 `json:"action_name"`
	Args       map[string]interface{} `json:"args"`
}

EventCallAction ...

type EventCallScene

type EventCallScene struct {
	PluginName string                 `json:"type"`
	EntityId   common.EntityId        `json:"entity_id"`
	Args       map[string]interface{} `json:"args"`
}

EventCallScene ...

type EventCallTaskAction

type EventCallTaskAction struct {
	Id   int64  `json:"id"`
	Name string `json:"name"`
}

EventCallTaskAction ...

type EventCallTaskTrigger

type EventCallTaskTrigger struct {
	Id   int64  `json:"id"`
	Name string `json:"name"`
}

EventCallTaskTrigger ...

type EventCreatedEntity

type EventCreatedEntity struct {
	Id common.EntityId `json:"id"`
}

EventCreatedEntity ...

type EventDeletedEntity

type EventDeletedEntity struct {
	Id common.EntityId `json:"id"`
}

EventDeletedEntity ...

type EventDisableTask

type EventDisableTask struct {
	Id int64 `json:"id"`
}

EventDisableTask ...

type EventEnableTask

type EventEnableTask struct {
	Id int64 `json:"id"`
}

EventEnableTask ...

type EventEntitySetState

type EventEntitySetState struct {
	Id              common.EntityId  `json:"id"`
	NewState        *string          `json:"new_state"`
	AttributeValues m.AttributeValue `json:"attribute_values"`
	SettingsValue   m.AttributeValue `json:"settings_value"`
	StorageSave     bool             `json:"storage_save"`
}

EventEntitySetState ...

type EventLoadedPlugin

type EventLoadedPlugin struct {
	PluginName string `json:"plugin_name"`
}

EventLoadedPlugin ...

type EventRemoveActor

type EventRemoveActor struct {
	PluginName string          `json:"plugin_name"`
	EntityId   common.EntityId `json:"entity_id"`
}

EventRemoveActor ...

type EventRemoveTask

type EventRemoveTask struct {
	Id int64 `json:"id"`
}

EventRemoveTask ...

type EventRequestState

type EventRequestState struct {
	From       common.EntityId `json:"from"`
	To         common.EntityId `json:"to"`
	Attributes m.Attributes    `json:"attributes"`
}

EventRequestState ...

type EventStateChanged

type EventStateChanged struct {
	StorageSave bool                       `json:"storage_save"`
	PluginName  string                     `json:"plugin_name"`
	EntityId    common.EntityId            `json:"entity_id"`
	OldState    event_bus.EventEntityState `json:"old_state"`
	NewState    event_bus.EventEntityState `json:"new_state"`
}

EventStateChanged ...

type EventUnloadedPlugin

type EventUnloadedPlugin struct {
	PluginName string `json:"plugin_name"`
}

EventUnloadedPlugin ...

type EventUpdateTask

type EventUpdateTask struct {
	Id int64 `json:"id"`
}

EventUpdateTask ...

type EventUpdatedEntity

type EventUpdatedEntity struct {
	Id common.EntityId `json:"id"`
}

EventUpdatedEntity ...

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL