Skip to content

Commit

Permalink
Merge pull request #159 from sam021313/master
Browse files Browse the repository at this point in the history
add get_power() to README
  • Loading branch information
sbidy authored Jun 5, 2024
2 parents b93f1cc + ca56047 commit d4a7084
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 @@ -277,6 +277,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 d4a7084

Please sign in to comment.