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

@ -15,8 +15,8 @@ from homeassistant.const import EntityCategory
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
CAPABILITY_TO_ATTRIB = {
Capability.acceleration_sensor: Attribute.acceleration,