Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions appdaemon/entity.py
Original file line number Diff line number Diff line change
Expand Up @@ -355,8 +355,6 @@ async def call_service(

Args:
service (str): The service name, without the domain (e.g "toggle")
return_result(bool, option): If `return_result` is provided and set to `True` AD will attempt
to wait for the result, and return it after execution
callback: The non-async callback to be executed when complete.
**kwargs: Each service has different parameter requirements. This argument
allows you to specify a comma-separated list of keyword value pairs, e.g.,
Expand Down
1 change: 0 additions & 1 deletion appdaemon/models/config/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@ class HASSConfig(PluginConfig):
BeforeValidator(utils.parse_timedelta)
] = Field(default_factory=lambda: timedelta(seconds=10))
"""Default timeout for waiting for responses from the websocket connection"""
# return_result: bool | None = None
suppress_log_messages: bool = False
retry_secs: int = 5
services_sleep_time: int = 60
Expand Down
2 changes: 0 additions & 2 deletions docs/CONFIGURE.rst
Original file line number Diff line number Diff line change
Expand Up @@ -517,8 +517,6 @@ To configure the HASS plugin, in addition to the required parameters above, you
- ``retry_secs`` (optional) - If specified, AD will wait for this many seconds in between retries to connect to HASS (default 5 seconds)
- ``plugin_startup_conditions`` - see `HASS Plugin Startup Conditions <#startup-conditions>`__
- ``q_timeout`` (optional, 30 seconds) - amount of time to wait for a response from Home Assistant before returning an error
- ``return_result`` (optional, false) - if set to true, all service calls to Home Assistant will wait for a response. Whether or not this returns data,
it can also provide error checking, and accurate timing for how long service calls take. Will be overridden by the ``return_result`` argument in ``call_service()``
- ``suppress_log_messages`` - (optional, false) - if set to true, all ``call_service()`` related log messages will be suppressed by default. Will be overridden by the ``suppress_log_messages`` argument in ``call_service()``

For example:
Expand Down
Loading