-
Notifications
You must be signed in to change notification settings - Fork 32
homeassistant log #77
Comments
I've got the same question |
Dear author, please release a bug update. |
Update: The issue resolved on its own. However, after reading the log provided, I see no mention of Can anyone still experiencing the issue post actually relevant logs? |
Failed to call fan/turn_on service. BathHeaterEntity.async_turn_on() takes from 1 to 2 positional arguments but 3 were given Tell me how to send me the logs, where are they located? After the update, the bathroom dryer stopped responding, you can only control the light Maybe this will help? syssi/xiaomi_fan#239 |
I have solved this problem probably |
async def async_turn_on(self, speed: str = None, **kwargs) -> None:Fix for HA 2023.12.2 where turn_on would not work anymore.
|
ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [1716058984] BathHeaterEntityV5.async_turn_on() takes from 1 to 2 positional arguments but 3 were given
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 238, in handle_call_service
response = await hass.services.async_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2149, in async_call
response_data = await coro
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2186, in _execute_service
return await target(service_call)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 272, in handle_service
return await service.entity_service_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 882, in entity_service_call
single_response = await _handle_entity_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 952, in _handle_entity_call
result = await task
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/fan/init.py", line 334, in async_handle_turn_on_service
await self.async_turn_on(percentage, preset_mode, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: BathHeaterEntityV5.async_turn_on() takes from 1 to 2 positional arguments but 3 were given
The text was updated successfully, but these errors were encountered: