Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Xiaomi Mi Smart Pedestal Fan: Add SA1 (zimi.fan.sa1) support #354

Merged
merged 12 commits into from
Aug 11, 2018

Conversation

syssi
Copy link
Collaborator

@syssi syssi commented Jul 25, 2018

No description provided.

miio/fan.py Outdated
@@ -35,6 +36,8 @@
AVAILABLE_PROPERTIES = {
MODEL_FAN_V2: ['led', 'bat_state'] + AVAILABLE_PROPERTIES_COMMON,
MODEL_FAN_V3: AVAILABLE_PROPERTIES_COMMON,
MODEL_FAN_SA1: ['led', 'angle', 'speed', 'poweroff_time', 'power', 'ac_power', 'angle_enable', 'speed_level',

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

line too long (113 > 100 characters)

@coveralls
Copy link

coveralls commented Jul 25, 2018

Coverage Status

Coverage decreased (-3.3%) to 69.127% when pulling 7f3317f on syssi:feature/xiaomi-fan-sa1 into 834bcb3 on rytilahti:master.

@syssi syssi changed the title Add zimi.fan.sa1 support WIP: Add zimi.fan.sa1 support Jul 25, 2018
@@ -67,6 +67,7 @@
"yeelink-light-": Yeelight,
"zhimi-fan-v2": partial(Fan, model=MODEL_FAN_V2),
"zhimi-fan-v3": partial(Fan, model=MODEL_FAN_V3),
"zhimi-fan-sa1": partial(Fan, model=MODEL_FAN_SA1),

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

undefined name 'MODEL_FAN_SA1'

@syssi syssi changed the title WIP: Add zimi.fan.sa1 support Xiaomi Mi Smart Pedestal Fan: Add SA1 (zimi.fan.sa1) support Aug 11, 2018
@syssi syssi merged commit 2b6b068 into rytilahti:master Aug 11, 2018
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants