From 74fd57e23a107ecb53df6588ddef29eb5204c20c Mon Sep 17 00:00:00 2001 From: Aaron Bach Date: Mon, 3 Feb 2020 12:22:50 -0700 Subject: [PATCH] Fix issue with Notion dispatcher topic (#31441) * Fix issue with Notion dispatcher topic * Use f-string --- homeassistant/components/notion/const.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/notion/const.py b/homeassistant/components/notion/const.py index 2f81cb72ac0..6ce5c4e5bc7 100644 --- a/homeassistant/components/notion/const.py +++ b/homeassistant/components/notion/const.py @@ -7,7 +7,7 @@ DEFAULT_SCAN_INTERVAL = timedelta(minutes=1) DATA_CLIENT = "client" -TOPIC_DATA_UPDATE = "data_update" +TOPIC_DATA_UPDATE = f"{DOMAIN}_data_update" TYPE_BINARY_SENSOR = "binary_sensor" TYPE_SENSOR = "sensor"