Source code for rayhunter.notifications
from enum import IntEnum
[docs]
class NotificationType(IntEnum):
"""
Enum of valid notification types.
"""
Warning = 0
LowBattery = 1
from enum import IntEnum
[docs]
class NotificationType(IntEnum):
"""
Enum of valid notification types.
"""
Warning = 0
LowBattery = 1