Skip to content

Commit

Permalink
Fix incorrect comparison of speed "off" by identity instead of by val…
Browse files Browse the repository at this point in the history
…ue (PR feedback)
  • Loading branch information
prystupa committed Jul 11, 2020
1 parent 4fb35fa commit 168d22c
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion homeassistant/components/bond/cover.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
from homeassistant.core import HomeAssistant
from homeassistant.helpers.entity import Entity

from .bond_entity import BondEntity
from .const import DOMAIN
from .entity import BondEntity
from .utils import BondDevice, get_bond_devices


Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion homeassistant/components/bond/fan.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
from homeassistant.core import HomeAssistant
from homeassistant.helpers.entity import Entity

from .bond_entity import BondEntity
from .const import DOMAIN
from .entity import BondEntity
from .utils import BondDevice, get_bond_devices


Expand Down
2 changes: 1 addition & 1 deletion tests/components/bond/test_cover.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@


def shades(name: str):
"""Create a motorized share with given name."""
"""Create motorized shades with given name."""
return {"name": name, "type": BOND_DEVICE_TYPE_MOTORIZED_SHADES}


Expand Down

0 comments on commit 168d22c

Please sign in to comment.