A fairly big update here - the biggest change is a switch to using WebSockets instead of EventStream for consuming HA events. The chjange should be transparent, and AppDaemon will fall back to EventStream if you have an older version of HA. Also, I cleaned up the code and updated the examples.
ā
1.5.0 (2017-01-21)
Features
- Swap from EventStream to Websockets (Requires Home Assistant 0.34 or later). For earlier versions of HA, AppDaemon will fallback to EventStream.
- Restored less verbose messages on HA restart, but verbose messages can be enabled by setting
-D DEBUG
when starting AppDaemon - From the command line ctrl-c now results in a clean shutdown.
- Home Assistant config e.g. Latitude, Longitude are now available in Apps in the
self.ha_config
dictionary. - Logging can now take placeholder strings for line number, function and module which will be appropriately expanded in the actual message
- Add example apps: battery, grandfather, sensor_notification, sound
- Updates to various example apps
Fixes
- get_app() will now return
None
if the app is not found rather than throwing an exception.
Breaking Changes
- get_app() will now return
None
if the app is not found rather than throwing an exception.
None