Make CalendarEntityFeature an IntFlag (#89733)
This commit is contained in:
parent
6e5b4f9f82
commit
4d3799a9de
1 changed files with 2 additions and 2 deletions
|
@ -1,11 +1,11 @@
|
|||
"""Constants for calendar components."""
|
||||
|
||||
from enum import IntEnum
|
||||
from enum import IntFlag
|
||||
|
||||
CONF_EVENT = "event"
|
||||
|
||||
|
||||
class CalendarEntityFeature(IntEnum):
|
||||
class CalendarEntityFeature(IntFlag):
|
||||
"""Supported features of the calendar entity."""
|
||||
|
||||
CREATE_EVENT = 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue