struct GetDevicesOfTypeextension GetDevicesOfType : Equatable, Expression, Identifiable, IdentifiableExpression, SendableRepresents the “get devices of type” operation on a structure or room.
-
String identifier of the expression. Must be unique within a single automation graph.
Declaration
Swift
let id: String -
The structure (or room in the future) to get devices from.
Declaration
Swift
let from: any Expression -
Device type.
Declaration
Swift
let deviceType: any Expression -
Returns a Boolean value indicating whether two values are equal.
Equality is the inverse of inequality. For any values
aandb,a == bimplies thata != bisfalse.Declaration
Swift
static func == (lhs: GetDevicesOfType, rhs: GetDevicesOfType) -> BoolParameters
lhsA value to compare.
rhsAnother value to compare.
-
Returns true if the expressions are equal, false otherwise.
Declaration
Swift
func isEqual(to other: any Expression) -> Bool