protocol Starter : NodeWithOutputBase protocol for all Starters in the automation graph.
-
The unique entity for the
HomeDeviceorStructureentity associated with theStarter.entity will be nil if the implementing class’s init(entityExpression: …) was used and the entityExpression is not a
Constantto aHomeObject.Declaration
Swift
var entity: (any HomeObject)? { get } -
The identifier for the
DeviceTypeassociated with theStarter, if the entity is a device.deviceType will be nil if entity is nil or not a device, such as a
StructureorRoom.Declaration
Swift
var deviceType: (any DeviceType.Type)? { get } -
The string-based identifier for the
DeviceType. If deviceType isUnknownDeviceTypeit will refer to the original deviceTypeID provided.deviceTypeID will be nil if entity is nil or not a device, such as a
StructureorRoom.Declaration
Swift
var deviceTypeID: String? { get }