Class: Wizrb::Power::Products::SmartPlug
- Inherits:
-
Shared::Products::Device
- Object
- Shared::Products::Device
- Wizrb::Power::Products::SmartPlug
- Defined in:
- lib/wizrb/power/products/smart_plug.rb
Constant Summary collapse
- MODULE_NAME_IDENTIFIER =
"SOCKET"
Instance Attribute Summary
Attributes inherited from Shared::Products::Device
Instance Method Summary collapse
-
#initialize(ip:, port: 38_899) ⇒ SmartPlug
constructor
A new instance of SmartPlug.
Methods inherited from Shared::Products::Device
#dispatch_event, #dispatch_events, #model_config, #module_name, #power_off, #power_on, #power_switch, #reboot, #refresh, #reset, #system_config, #user_config
Constructor Details
#initialize(ip:, port: 38_899) ⇒ SmartPlug
Returns a new instance of SmartPlug.
11 12 13 |
# File 'lib/wizrb/power/products/smart_plug.rb', line 11 def initialize(ip:, port: 38_899) super end |