This is a workaround for AppDaemon/appdaemon#1837
- Add the
call_service_with_response
script to your HA config - Inherit your app from
ServiceResponseApp
and usecall_service
as usual withreturn_result
class MyApp(ServiceResponseApp):
async def initialize(self):
list = await self.call_service(
"todo.get_items",
entity_id="todo.shopping_list",
return_result=True,
)
self.log("list %s", list)
Hi chatziko,
Nice solution, thanks! It works nicely for me.
Now i can get all calendar events from a local Google integration calendar into AppDaemon code.
💪🙏