Add device_class support to cover component (#5881)
This commit is contained in:
parent
2103bfc824
commit
e4bbe37112
4 changed files with 42 additions and 10 deletions
|
@ -33,6 +33,11 @@ ENTITY_ID_ALL_COVERS = group.ENTITY_ID_FORMAT.format('all_covers')
|
|||
|
||||
ENTITY_ID_FORMAT = DOMAIN + '.{}'
|
||||
|
||||
DEVICE_CLASSES = [
|
||||
'window', # Window control
|
||||
'garage', # Garage door control
|
||||
]
|
||||
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
|
||||
ATTR_CURRENT_POSITION = 'current_position'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue