mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
Make CalendarEntityFeature an IntFlag (#89733)
This commit is contained in:
parent
6e5b4f9f82
commit
4d3799a9de
@ -1,11 +1,11 @@
|
|||||||
"""Constants for calendar components."""
|
"""Constants for calendar components."""
|
||||||
|
|
||||||
from enum import IntEnum
|
from enum import IntFlag
|
||||||
|
|
||||||
CONF_EVENT = "event"
|
CONF_EVENT = "event"
|
||||||
|
|
||||||
|
|
||||||
class CalendarEntityFeature(IntEnum):
|
class CalendarEntityFeature(IntFlag):
|
||||||
"""Supported features of the calendar entity."""
|
"""Supported features of the calendar entity."""
|
||||||
|
|
||||||
CREATE_EVENT = 1
|
CREATE_EVENT = 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user