meta data for this page
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| home_automation:home_assistant:appdaemon [2023/11/26 13:16] – niziak | home_automation:home_assistant:appdaemon [2023/12/11 17:23] (current) – niziak | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== appdaemon ====== | ====== appdaemon ====== | ||
| + | |||
| + | Components: | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * AppDaemon version pinning here: https:// | ||
| + | |||
| Within release v0.15.0 the appdaemon data folder will migrate/ | Within release v0.15.0 the appdaemon data folder will migrate/ | ||
| Line 6: | Line 12: | ||
| [[https:// | [[https:// | ||
| + | |||
| + | Admin dashboard is available on [[http:// | ||
| + | |||
| + | ===== complex mutli-class apps ===== | ||
| + | |||
| + | Direct imports of classes defined in another file doesn' | ||
| + | Possible solutions: | ||
| + | - put all class in main app file | ||
| + | - use global module [[https:// | ||
| + | - do it in right way [[https:// | ||
| + | - create more small apps | ||
| + | - make main app depend on them | ||
| + | - get access to other apps using [[https:// | ||
| + | |||
| + | ===== create sensors ===== | ||
| + | |||
| + | With first call to '' | ||
| Line 22: | Line 45: | ||
| tempa = self.get_state(WEATHER_SENSOR, | tempa = self.get_state(WEATHER_SENSOR, | ||
| wind = self.get_state(WEATHER_SENSOR, | wind = self.get_state(WEATHER_SENSOR, | ||
| + | |||
| + | forecast = self.get_state(WEATHER_SENSOR, | ||
| + | for f in forecast: | ||
| + | self.log(" | ||
| </ | </ | ||