mirror of
https://github.com/home-assistant/core.git
synced 2025-07-16 09:47:13 +00:00
parent
7dbbea2238
commit
99c2e4ac44
@ -204,8 +204,9 @@ async def entity_service_call(hass, platforms, func, call):
|
|||||||
if ATTR_ENTITY_ID in call.data:
|
if ATTR_ENTITY_ID in call.data:
|
||||||
target_all_entities = call.data[ATTR_ENTITY_ID] == ENTITY_MATCH_ALL
|
target_all_entities = call.data[ATTR_ENTITY_ID] == ENTITY_MATCH_ALL
|
||||||
else:
|
else:
|
||||||
_LOGGER.warning('Not passing an entity ID to a service to target all '
|
_LOGGER.warning(
|
||||||
'entities is deprecated. Use instead: entity_id: "*"')
|
'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
|
target_all_entities = True
|
||||||
|
|
||||||
if not target_all_entities:
|
if not target_all_entities:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user