Skip to content

Commit

Permalink
Fix xiaomi speed attribute name clash (home-assistant#20312)
Browse files Browse the repository at this point in the history
  • Loading branch information
syssi authored and MartinHjelmare committed Jan 23, 2019
1 parent e964750 commit 3484e50
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions homeassistant/components/fan/xiaomi_miio.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@
ATTR_HARDWARE_VERSION = 'hardware_version'

# Air Humidifier CA
ATTR_SPEED = 'speed'
ATTR_MOTOR_SPEED = 'motor_speed'
ATTR_DEPTH = 'depth'
ATTR_DRY = 'dry'

Expand Down Expand Up @@ -232,7 +232,7 @@

AVAILABLE_ATTRIBUTES_AIRHUMIDIFIER_CA = {
**AVAILABLE_ATTRIBUTES_AIRHUMIDIFIER_COMMON,
ATTR_SPEED: 'speed',
ATTR_MOTOR_SPEED: 'speed',
ATTR_DEPTH: 'depth',
ATTR_DRY: 'dry',
}
Expand Down

0 comments on commit 3484e50

Please sign in to comment.