Represents the configuration for a single Shelly plug device.
Constructors
new(name :
String, host :
String, port :
Int32, generation :
PlugGeneration =
PlugGeneration::Gen1, auth_username :
String |
Nil = nil, auth_password :
String |
Nil = nil, last_request_succeeded :
Bool |
Nil = nil)
SourceInstance methods
generation=(generation : PlugGeneration)
Sourcelast_request_succeeded=(last_request_succeeded :
Bool |
Nil)
Source