Skip to content

Commit

Permalink
Merge pull request #19 from nergal/develop
Browse files Browse the repository at this point in the history
Remove call to dummy command
  • Loading branch information
nergal authored Jan 10, 2022
2 parents 8c2d05d + ab29211 commit 2dd62eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/xiaomi_viomi/vacuum.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ def update(self):
state = self._get_device_status()
self.vacuum_state = state

self._fan_speeds = state.fan_speed_presets()
self._fan_speeds = {x.name: x.value for x in list(ViomiVacuumSpeed)}
self._fan_speeds_reverse = {v: k for k, v in self._fan_speeds.items()}

self.consumable_state = self._device.consumable_status()
Expand Down

0 comments on commit 2dd62eb

Please sign in to comment.