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
1 changed files with 3 additions and 1 deletions
|
@ -105,7 +105,9 @@ class SwitcherBaseSwitchEntity(
|
|||
|
||||
async def _async_call_api(self, api: str, *args: Any) -> None:
|
||||
"""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
|
||||
error = None
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue