mirror of
https://github.com/home-assistant/core.git
synced 2025-07-31 19:25:12 +02:00
Combine short strings in components (#135265)
This commit is contained in:
@@ -220,8 +220,7 @@ def async_subscribe_internal(
|
||||
mqtt_data = hass.data[DATA_MQTT]
|
||||
except KeyError as exc:
|
||||
raise HomeAssistantError(
|
||||
f"Cannot subscribe to topic '{topic}', "
|
||||
"make sure MQTT is set up correctly",
|
||||
f"Cannot subscribe to topic '{topic}', make sure MQTT is set up correctly",
|
||||
translation_key="mqtt_not_setup_cannot_subscribe",
|
||||
translation_domain=DOMAIN,
|
||||
translation_placeholders={"topic": topic},
|
||||
|
Reference in New Issue
Block a user