Move smartthings base entity to separate module (#126176)

This commit is contained in:
epenet 2024-09-18 11:05:50 +02:00 committed by GitHub
parent 6325a332bd
commit fdf460b82b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 59 additions and 54 deletions

View file

@ -23,8 +23,8 @@ from homeassistant.const import ATTR_BATTERY_LEVEL
from homeassistant.core import HomeAssistant
from homeassistant.helpers.entity_platform import AddEntitiesCallback
from . import SmartThingsEntity
from .const import DATA_BROKERS, DOMAIN
from .entity import SmartThingsEntity
VALUE_TO_STATE = {
"closed": STATE_CLOSED,