Skip to content

Commit

Permalink
Fix CLI of the PTC support (dmaker.airfresh.t2017) (#855)
Browse files Browse the repository at this point in the history
  • Loading branch information
syssi authored Nov 5, 2020
1 parent adf1f20 commit 74ab3b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion miio/airfresh_t2017.py
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ def set_display_orientation(self, orientation: DisplayOrientation):
@command(
click.argument("ptc", type=bool),
default_output=format_output(
lambda led: "Turning on ptc" if led else "Turning off ptc"
lambda ptc: "Turning on ptc" if ptc else "Turning off ptc"
),
)
def set_ptc(self, ptc: bool):
Expand Down

0 comments on commit 74ab3b3

Please sign in to comment.