mirror of
https://github.com/elisspace/core.git
synced 2026-09-17 16:26:23 +00:00
Use literal string interpolation in integrations R-S (f-strings) (#26392)
This commit is contained in:
committed by
Pascal Vizeli
parent
7203027cbf
commit
445c741b30
@@ -41,9 +41,9 @@ _LOGGER = logging.getLogger(__name__)
|
||||
|
||||
DATA_LISTENER = "listener"
|
||||
|
||||
PROGRAM_UPDATE_TOPIC = "{0}_program_update".format(DOMAIN)
|
||||
SENSOR_UPDATE_TOPIC = "{0}_data_update".format(DOMAIN)
|
||||
ZONE_UPDATE_TOPIC = "{0}_zone_update".format(DOMAIN)
|
||||
PROGRAM_UPDATE_TOPIC = f"{DOMAIN}_program_update"
|
||||
SENSOR_UPDATE_TOPIC = f"{DOMAIN}_data_update"
|
||||
ZONE_UPDATE_TOPIC = f"{DOMAIN}_zone_update"
|
||||
|
||||
CONF_CONTROLLERS = "controllers"
|
||||
CONF_PROGRAM_ID = "program_id"
|
||||
|
||||
Reference in New Issue
Block a user