Enumeration
WaterPresentEvent.State
public enum State: Codable, Equatable
The water presence state of a sensor.
Relationships
Member Of
WaterPresentEvent
An event that indicates whether or not water is present to a Water Detector sensor. This event is sent every heartbeat, and when the sensor is touched.
Conforms To
Codable
Equatable
Initializers
init(from:)
public init(from decoder: Decoder) throws
Enumeration Cases
unknown
case unknown(value: String)
Used for backward compatibility in case a new state is added on the backend before being added to this client library.
Methods
encode(to:)
public func encode(to encoder: Encoder) throws