Skip to content

Commit

Permalink
Merge pull request #5 from marciogranzotto/fix-number-auto
Browse files Browse the repository at this point in the history
Fix crash on HA 2021.12.0
  • Loading branch information
veista authored Dec 12, 2021
2 parents 42d0488 + abe0610 commit f34e3f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions custom_components/smartthings/number.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from pysmartthings import Attribute, Capability
from pysmartthings.device import DeviceEntity

from homeassistant.components.number import NumberEntity, MODE_AUTO
from homeassistant.components.number import NumberEntity, NumberMode

from . import SmartThingsEntity
from .const import DATA_BROKERS, DOMAIN
Expand All @@ -34,7 +34,7 @@
0,
100,
1,
MODE_AUTO,
NumberMode.AUTO,
)
],
}
Expand Down

0 comments on commit f34e3f3

Please sign in to comment.