class

HomeconnectLocal::Runtime::SwitchEntity

Inherits HomeconnectLocal::Runtime::IntegrationEntity < Reference < Object

Constructors

new(entity : Entity, entity_id : String, friendly_name : String, value_mapping : Tuple(JSON::Any, JSON::Any) | Nil = nil)
Source

Instance methods

apply_value_payload(payload : Hash(String, JSON::Any))
Source
domain
Source
handle_service(service : String, data : Hash(String, JSON::Any))
Source
to_state
Source