Skip to content

Commit e341a48

Browse files
committed
ruff fixes
1 parent 1960b70 commit e341a48

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

appdaemon/events.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ async def process_event(self, namespace: str, data: dict[str, Any]):
273273

274274
except Exception:
275275
self.logger.warning("-" * 60)
276-
self.logger.warning("Unexpected error during process_event()")
276+
self.logger.warning("Unexpected error during process_event()")
277277
self.logger.warning("-" * 60)
278278
self.logger.warning(traceback.format_exc())
279279
self.logger.warning(json.dumps(data, indent=4))

appdaemon/plugins/hass/hassapi.pyi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from typing import Any, Callable, overload
1+
from typing import Any, Callable
22

33
from appdaemon.adapi import ADAPI
44
from appdaemon.adbase import ADBase
@@ -96,4 +96,4 @@ class Hass(ADBase, ADAPI):
9696
>>> self.call_service("app/reload", namespace="admin")
9797
9898
"""
99-
...
99+
...

appdaemon/plugins/hass/hassplugin.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -214,8 +214,8 @@ async def __post_auth__(self):
214214
await self.ready_event.wait()
215215

216216
await self.notify_plugin_started(
217-
await self.get_hass_config(),
218-
await self.get_complete_state()
217+
meta=await self.get_hass_config(),
218+
state=await self.get_complete_state()
219219
)
220220
self.first_time = False
221221

0 commit comments

Comments
 (0)