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
rawValue
The string name
-
Create a type instance via a string literal
Declaration
Swift
public init(stringLiteral value: StringLiteralType)
Parameters
value
The string literal
-
Create a type instance via a nil literal, representing all events
Declaration
Swift
public init(nilLiteral: ())
Parameters
nilLiteral
Unused
-
All events
Declaration
Swift
public static var all: `Self`
-
call_service
Declaration
Swift
public static var callService: `Self`
-
component_loaded
Declaration
Swift
public static var componentLoaded: `Self`
-
core_config_updated
Declaration
Swift
public static var coreConfigUpdated: `Self`
-
homeassistant_close
Declaration
Swift
public static var homeassistantClose: `Self`
-
homeassistant_final_write
Declaration
Swift
public static var homeassistantFinalWrite: `Self`
-
homeassistant_start
Declaration
Swift
public static var homeassistantStart: `Self`
-
homeassistant_started
Declaration
Swift
public static var homeassistantStarted: `Self`
-
homeassistant_stop
Declaration
Swift
public static var homeassistantStop: `Self`
-
logbook_entry
Declaration
Swift
public static var logbookEntry: `Self`
-
platform_discovered
Declaration
Swift
public static var platformDiscovered: `Self`
-
service_registered
Declaration
Swift
public static var serviceRegistered: `Self`
-
service_removed
Declaration
Swift
public static var serviceRemoved: `Self`
-
shopping_list_updated
Declaration
Swift
public static var shoppingListUpdated: `Self`
-
state_changed
Declaration
Swift
public static var stateChanged: `Self`
-
themes_updated
Declaration
Swift
public static var themesUpdated: `Self`
-
timer_out_of_sync
Declaration
Swift
public static var timerOutOfSync: `Self`