Skip to content

Commit

Permalink
Fix exception message
Browse files Browse the repository at this point in the history
Co-authored-by: Teemu R. <tpr@iki.fi>
  • Loading branch information
julian-klode and rytilahti authored Jun 21, 2022
1 parent e9d9270 commit faef2bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion miio/integrations/airpurifier/zhimi/airpurifier_miot.py
Original file line number Diff line number Diff line change
Expand Up @@ -579,7 +579,7 @@ def set_gestures(self, gestures: bool):
"""Set gestures on/off."""
if "gestures" not in self._get_mapping():
raise AirPurifierMiotException(
"Unsupported buzzer for model '%s'" % self.model
"Gestures not support for model '%s'" % self.model
)

return self.set_property("gestures", gestures)
Expand Down

0 comments on commit faef2bc

Please sign in to comment.