mirror of
https://github.com/home-assistant/core.git
synced 2025-04-30 04:07:51 +00:00
Fix switcher kis logging incorrect property for device's name (#107775)
* use of incorrect property for device's name * Update switch.py according to Ruff formatter
This commit is contained in:
parent
1c669c6e84
commit
b12c53e94e
@ -105,7 +105,9 @@ class SwitcherBaseSwitchEntity(
|
|||||||
|
|
||||||
async def _async_call_api(self, api: str, *args: Any) -> None:
|
async def _async_call_api(self, api: str, *args: Any) -> None:
|
||||||
"""Call Switcher API."""
|
"""Call Switcher API."""
|
||||||
_LOGGER.debug("Calling api for %s, api: '%s', args: %s", self.name, api, args)
|
_LOGGER.debug(
|
||||||
|
"Calling api for %s, api: '%s', args: %s", self.coordinator.name, api, args
|
||||||
|
)
|
||||||
response: SwitcherBaseResponse = None
|
response: SwitcherBaseResponse = None
|
||||||
error = None
|
error = None
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user