ShellyplugExporter::PlugConfig
Inherits Reference < Object
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
auth_password
Sourceauth_password=(auth_password : String | Nil)
Sourceauth_username
Sourceauth_username=(auth_username : String | Nil)
Sourcegeneration
Sourcegeneration=(generation : PlugGeneration)
Sourcehost
Sourcehost=(host : String)
Sourcelast_request_succeeded
Sourcelast_request_succeeded=(last_request_succeeded : Bool | Nil)
Sourcename
Sourcename=(name : String)
Sourceport
Sourceport=(port : Int32)
Source