Skip to content

Commit

Permalink
fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
rytilahti committed Dec 8, 2018
1 parent e65f827 commit 24b13c8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion miio/aqaracamera.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
Support for lumi.camera.aq1
TODO: add alarm/sound parts (get_music_info, {get,set}_alarming_volume, set_default_music, play_music_new, set_sound_playing)
TODO: add alarm/sound parts (get_music_info, {get,set}_alarming_volume,
set_default_music, play_music_new, set_sound_playing)
TODO: add sdcard status & fix all TODOS
TODO: add tests
"""
Expand Down Expand Up @@ -46,6 +47,7 @@ class SDCardStatus(IntEnum):
FormatRequired = 2
Formating = 3


class MotionDetectionSensitivity(IntEnum):
"""'Default' values for md sensitivity.
Currently unused as the value can also be set arbitrarily.
Expand All @@ -54,6 +56,7 @@ class MotionDetectionSensitivity(IntEnum):
Medium = 10000000
Low = 11000000


class CameraStatus:
"""Container for status reports from the Aqara Camera."""

Expand Down Expand Up @@ -342,6 +345,7 @@ def alarm_sound(self, sound_id):
"""List or set the alarm sound."""
if id is None:
sound_status = self.send("get_music_info", [0])

# TODO: make a list out from this.
@attr.s
class SoundList:
Expand Down

0 comments on commit 24b13c8

Please sign in to comment.