diff --git a/homeassistant/helpers/service.py b/homeassistant/helpers/service.py index 66488fbec3d..2b7638b55ee 100644 --- a/homeassistant/helpers/service.py +++ b/homeassistant/helpers/service.py @@ -204,8 +204,9 @@ async def entity_service_call(hass, platforms, func, call): if ATTR_ENTITY_ID in call.data: target_all_entities = call.data[ATTR_ENTITY_ID] == ENTITY_MATCH_ALL else: - _LOGGER.warning('Not passing an entity ID to a service to target all ' - 'entities is deprecated. Use instead: entity_id: "*"') + _LOGGER.warning( + 'Not passing an entity ID to a service to target all entities is ' + 'deprecated. Use instead: entity_id: "%s"', ENTITY_MATCH_ALL) target_all_entities = True if not target_all_entities: