init home-assistant
This commit is contained in:
12
home-assistant/homeassistant/components/feedreader/const.py
Normal file
12
home-assistant/homeassistant/components/feedreader/const.py
Normal file
@@ -0,0 +1,12 @@
|
||||
"""Constants for RSS/Atom feeds."""
|
||||
|
||||
from datetime import timedelta
|
||||
from typing import Final
|
||||
|
||||
DOMAIN: Final[str] = "feedreader"
|
||||
|
||||
CONF_MAX_ENTRIES: Final[str] = "max_entries"
|
||||
DEFAULT_MAX_ENTRIES: Final[int] = 20
|
||||
DEFAULT_SCAN_INTERVAL: Final[timedelta] = timedelta(hours=1)
|
||||
|
||||
EVENT_FEEDREADER: Final[str] = "feedreader"
|
||||
Reference in New Issue
Block a user