hass-core/homeassistant/components/group
Allen Porter 84c66b3cad
Add support for services to return data (#94401)
* Add support for service calls with resopnse data.

Update the service calls to allow returning responses with data,
with an initial use case supporting basic service calls usable
within script.

* Revert enttiy platform/component changes

* Remove unnecessary comma diff

* Revert additional unnecessary changes

* Simplify service call

* Simplify and fix typing and revert whitespace

* Clarify typing intent

* Revert more entity service calls

* Revert additional entity service changes

* Set blocking=True for group notify service call

* Revert unnecessary changes

* Reverting more whitespace changes

* Revert more service changes

* Add test coverage for None return case

* Add parameter to service calls indicating return values were requested

* Update tests/test_core.py

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>

* Add additional service call tests

* Update test comment

---------

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2023-06-16 12:43:35 -04:00
..
__init__.py Add sensor to group (#83186) 2023-01-24 20:12:27 +01:00
binary_sensor.py Adjust docstrings for ruff D404 (#89077) 2023-03-03 11:26:13 +01:00
config_flow.py Translate config flow for sensor measurement option in group (#87374) 2023-05-30 21:23:47 -04:00
const.py Add sensor to group (#83186) 2023-01-24 20:12:27 +01:00
cover.py Adjust docstrings for ruff D404 (#89077) 2023-03-03 11:26:13 +01:00
fan.py Adjust docstrings for ruff D404 (#89077) 2023-03-03 11:26:13 +01:00
light.py Adjust docstrings for ruff D404 (#89077) 2023-03-03 11:26:13 +01:00
lock.py Adjust docstrings for ruff D404 (#89077) 2023-03-03 11:26:13 +01:00
manifest.json Sort manifests 4 (#87025) 2023-02-08 20:27:05 +01:00
media_player.py Improve media_player type hints in integrations (#90029) 2023-03-21 11:10:12 +01:00
notify.py Add support for services to return data (#94401) 2023-06-16 12:43:35 -04:00
recorder.py
reproduce_state.py
sensor.py Add product calculation to Group sensor (#87373) 2023-03-28 09:35:09 +02:00
services.yaml Add remove entity in group.set service (#79401) 2023-01-23 15:00:40 +01:00
strings.json Translate config flow for sensor measurement option in group (#87374) 2023-05-30 21:23:47 -04:00
switch.py Adjust docstrings for ruff D404 (#89077) 2023-03-03 11:26:13 +01:00
util.py