Documentation ¶
Index ¶
- type CCU
- type Device
- func (d *Device) Events() map[string]api.SimpleHandler
- func (d *Device) GetValueTypes() api.FieldMap
- func (d *Device) GetValues() map[string]interface{}
- func (d *Device) ID() string
- func (d *Device) IsActorItem() bool
- func (d *Device) IsEventItem() bool
- func (d *Device) IsSensorItem() bool
- func (d *Device) Name() string
- func (d *Device) SetEventTrigger(trigger func(action string, data map[string]interface{}))
- func (d *Device) SetValues(values map[string]interface{}) error
- type Plugin
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CCU ¶
type CCU struct { // address of CCU Address string // Regex to exclude entries from item list Exclude *regexp.Regexp // interval for state updates UpdateInterval time.Duration // contains filtered or unexported fields }
CCU instance of homematic CCU
type Device ¶
type Device struct {
// contains filtered or unexported fields
}
Device of HomeMatic CCU
func (*Device) Events ¶
func (d *Device) Events() map[string]api.SimpleHandler
Events returns all events that can be emitted
func (*Device) GetValueTypes ¶
GetValueTypes of switch
func (*Device) IsActorItem ¶
IsActorItem returns true if item is a actor
func (*Device) IsEventItem ¶
IsEventItem returns true if item is a event
func (*Device) IsSensorItem ¶
IsSensorItem returns true if item is a sensor
func (*Device) SetEventTrigger ¶
SetEventTrigger for item event
Click to show internal directories.
Click to hide internal directories.