Remove unnecessary string literal concatenations (#30360)
This commit is contained in:
1 parent
cac750066a
commit
e6388e186c
183 files changed
+362
-393
No files matched your search
@@ -130,7 +130,7 @@ async def async_setup_entry(hass: HomeAssistantType, entry: ConfigEntry) -> bool
|
||||
# ESPHome uses servicecall packet for both events and service calls
|
||||
# Ensure the user can only send events of form 'esphome.xyz'
|
||||
if domain != "esphome":
|
||||
_LOGGER.error("Can only generate events under esphome " "domain!")
|
||||
_LOGGER.error("Can only generate events under esphome domain!")
|
||||
return
|
||||
hass.bus.async_fire(service.service, service_data)
|
||||
else:
|
||||
|
||||
Reference in new issue
Block a user