HAEventType
public struct HAEventType : RawRepresentable, Hashable, ExpressibleByStringLiteral, ExpressibleByNilLiteral
The type of the event
-
The underlying string representing the event, or nil for all events
Declaration
Swift
public var rawValue: String? -
Create a type instance with a given string name
Declaration
Swift
public init(rawValue: String?)Parameters
rawValueThe string name
-
Create a type instance via a string literal
Declaration
Swift
public init(stringLiteral value: StringLiteralType)Parameters
valueThe string literal
-
Create a type instance via a nil literal, representing all events
Declaration
Swift
public init(nilLiteral: ())Parameters
nilLiteralUnused
-
All events
Declaration
Swift
public static var all: `Self` -
call_serviceDeclaration
Swift
public static var callService: `Self` -
component_loadedDeclaration
Swift
public static var componentLoaded: `Self` -
core_config_updatedDeclaration
Swift
public static var coreConfigUpdated: `Self` -
homeassistant_closeDeclaration
Swift
public static var homeassistantClose: `Self` -
homeassistant_final_writeDeclaration
Swift
public static var homeassistantFinalWrite: `Self` -
homeassistant_startDeclaration
Swift
public static var homeassistantStart: `Self` -
homeassistant_startedDeclaration
Swift
public static var homeassistantStarted: `Self` -
homeassistant_stopDeclaration
Swift
public static var homeassistantStop: `Self` -
logbook_entryDeclaration
Swift
public static var logbookEntry: `Self` -
platform_discoveredDeclaration
Swift
public static var platformDiscovered: `Self` -
service_registeredDeclaration
Swift
public static var serviceRegistered: `Self` -
service_removedDeclaration
Swift
public static var serviceRemoved: `Self` -
shopping_list_updatedDeclaration
Swift
public static var shoppingListUpdated: `Self` -
state_changedDeclaration
Swift
public static var stateChanged: `Self` -
themes_updatedDeclaration
Swift
public static var themesUpdated: `Self` -
timer_out_of_syncDeclaration
Swift
public static var timerOutOfSync: `Self`
View on GitHub