class

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)
Source

Instance methods

auth_password
Source
auth_password=(auth_password : String | Nil)
Source
auth_username
Source
auth_username=(auth_username : String | Nil)
Source
generation
Source
generation=(generation : PlugGeneration)
Source
host
Source
host=(host : String)
Source
last_request_succeeded
Source
last_request_succeeded=(last_request_succeeded : Bool | Nil)
Source
name
Source
name=(name : String)
Source
port
Source
port=(port : Int32)
Source