View Source TpLink.Type.Plug (tp_link v0.2.0)

For working with smart plug devices.

Link to this section Summary

Functions

Returns the system info.

Turns a switch on or off.

Link to this section Functions

Returns the system info.

Link to this function

set_relay_state(device, value)

View Source

Turns a switch on or off.