torkildr / appdaemon-conf Goto Github PK
View Code? Open in Web Editor NEWMy configuration for Appdaemon for HomeAssistant
My configuration for Appdaemon for HomeAssistant
Hello,
I've replicated all your files (custom_widgets/calendar.yaml, custom_widgets/basecalendar/, apps/ical.yaml, apps/ical.py, assets/javascript/), and added a google calendar .ics URL to the ical.yaml file. I've edited the dashboard file.
I'm unable to get it to display calendar events. Error as below. Is there anything obvious I'm missing? Thanks!
2018-04-26 23:01:05.275415 WARNING AppDaemon: ------------------------------------------------------------
2018-04-26 23:01:05.275579 WARNING AppDaemon: Unexpected error in worker for App google_calendar:
2018-04-26 23:01:05.275754 WARNING AppDaemon: Worker Ags: {'name': 'google_calendar', 'id': UUID('<snip>'), 'type': 'timer', 'function': <bound method Calendar.updateState of <ical.Calendar object at 0x1047bea20>>, 'kwargs': {'interval': 60}}
2018-04-26 23:01:05.275867 WARNING AppDaemon: ------------------------------------------------------------
2018-04-26 23:01:05.276190 WARNING AppDaemon: Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/appdaemon/appdaemon.py", line 527, in worker
funcref(self.sanitize_timer_kwargs(app, args["kwargs"]))
File "/Users/ob1/.homeassistant/conf/apps/ical.py", line 50, in updateState
self.set_app_state(self.entity, state="", attributes=events)
AttributeError: 'Calendar' object has no attribute 'set_app_state'
Current version:
$ appdaemon -v
appdaemon 3.0.1
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.