Skip to content

Commit

Permalink
Rename get_status to get_state
Browse files Browse the repository at this point in the history
  • Loading branch information
felipediel committed Apr 9, 2024
1 parent c97f53d commit 320c682
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion broadlink/switch.py
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ class mp1s(mp1):

TYPE = "MP1S"

def get_status(self) -> dict:
def get_state(self) -> dict:
"""Return the power state of the device.
voltage in V.
Expand Down

0 comments on commit 320c682

Please sign in to comment.