mirror of
https://github.com/home-assistant/core.git
synced 2026-05-03 19:41:15 +02:00
Make CalendarEntityFeature an IntFlag (#89733)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user