hass-core/homeassistant/components/notion/const.py
Aaron Bach 74fd57e23a
Fix issue with Notion dispatcher topic ()
* Fix issue with Notion dispatcher topic

* Use f-string
2020-02-03 12:22:50 -07:00

13 lines
277 B
Python

"""Define constants for the Notion integration."""
from datetime import timedelta
DOMAIN = "notion"
DEFAULT_SCAN_INTERVAL = timedelta(minutes=1)
DATA_CLIENT = "client"
TOPIC_DATA_UPDATE = f"{DOMAIN}_data_update"
TYPE_BINARY_SENSOR = "binary_sensor"
TYPE_SENSOR = "sensor"