Documentation
¶
Index ¶
- type EventAddedActor
- type EventAddedTask
- type EventCallAction
- type EventCallScene
- type EventCallTaskAction
- type EventCallTaskTrigger
- type EventCreatedEntity
- type EventDeletedEntity
- type EventDisableTask
- type EventEnableTask
- type EventEntitySetState
- type EventGetLastState
- type EventLoadedPlugin
- type EventPassAttributes
- type EventRemoveActor
- type EventRemoveTask
- type EventStateChanged
- type EventUnloadedPlugin
- type EventUpdateTask
- type EventUpdatedEntity
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 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 ¶
EventCallTaskAction ...
type EventCallTaskTrigger ¶
EventCallTaskTrigger ...
type EventCreatedEntity ¶
EventCreatedEntity ...
type EventDeletedEntity ¶
EventDeletedEntity ...
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 EventGetLastState ¶
EventGetLastState ...
type EventLoadedPlugin ¶
type EventLoadedPlugin struct {
PluginName string `json:"plugin_name"`
}
EventLoadedPlugin ...
type EventPassAttributes ¶
type EventPassAttributes struct {
From common.EntityId `json:"from"`
To common.EntityId `json:"to"`
Attributes m.Attributes `json:"attributes"`
}
EventPassAttributes ...
type EventRemoveActor ¶
type EventRemoveActor struct {
PluginName string `json:"plugin_name"`
EntityId common.EntityId `json:"entity_id"`
}
EventRemoveActor ...
type EventStateChanged ¶
type EventStateChanged struct {
StorageSave bool `json:"storage_save"`
PluginName string `json:"plugin_name"`
EntityId common.EntityId `json:"entity_id"`
OldState bus.EventEntityState `json:"old_state"`
NewState bus.EventEntityState `json:"new_state"`
}
EventStateChanged ...
type EventUnloadedPlugin ¶
type EventUnloadedPlugin struct {
PluginName string `json:"plugin_name"`
}
EventUnloadedPlugin ...
type EventUpdatedEntity ¶
EventUpdatedEntity ...
Click to show internal directories.
Click to hide internal directories.