Skip to content

Commit

Permalink
add get_power() to README
Browse files Browse the repository at this point in the history
  • Loading branch information
sam-hey authored Jan 13, 2023
1 parent a11d2c7 commit ca56047
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,8 @@ After that all states can be fetched from `light.state`, which is a `PilotParser

`turn_on(PilotBuilder)` turns the light on. This takes a `PilotBuilder` object, which can be used to set all the parameters programmatically - rgb, color temperature, brightness, etc. To set the light to rhythm mode, create an empty `PilotBuilder`.

`get_power(self)` returns the current power consumption of a Smart Plug with Metering.

## Bulb methods (UDP native):

- **getSystemConfig** - gets the current system configuration - no parameters required
Expand Down

0 comments on commit ca56047

Please sign in to comment.