Documentation
¶
Index ¶
- type EventAddedActor
- type EventAddedTask
- type EventCallAction
- type EventCallScene
- type EventCallTaskAction
- type EventCallTaskTrigger
- type EventCreatedEntity
- type EventDeletedEntity
- type EventDirectMessage
- type EventDisableTask
- type EventEnableTask
- type EventEntitySetState
- type EventGetLastState
- type EventLastStateChanged
- type EventLoadedPlugin
- type EventPassAttributes
- type EventRemoveActor
- type EventRemoveTask
- type EventStateChanged
- type EventUnloadedPlugin
- type EventUpdateTask
- type EventUpdateUserLocation
- 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 EventDirectMessage ¶ added in v0.9.5
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 EventLastStateChanged ¶ added in v0.8.6
type EventLastStateChanged 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"` }
EventLastStateChanged ...
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 EventUpdateUserLocation ¶ added in v0.9.5
type EventUpdateUserLocation struct { UserID int64 `json:"user_id"` Lat float32 `json:"lat"` Lon float32 `json:"lon"` Accuracy float32 `json:"accuracy"` }
EventUpdateUserLocation ...
type EventUpdatedEntity ¶
EventUpdatedEntity ...
Click to show internal directories.
Click to hide internal directories.