Appdaemon

Latest version: v4.4.2

Safety actively analyzes 640154 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 10 of 12

1.5.0

**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

1.4.2

**Features**

None

**Fixes**

- Remove timeout parameter from SSEClient call unless timeout is
explicitly specified in the config file

**Breaking Changes**

None

1.4.1

**Features**

- turn_off() now allows passing of parameters to the underlying
service call
- Better handling of scheduler and worker thread errors. More
diagnostics, plus scheduler errors now delete the entry where
possible to avoid spamming log entries
- More verbose error handling with HA communication errors

**Fixes**

None

**Breaking Changes**

None

1.4.0

**Features**

- notify() now supports names
- It is now possible to set a timeout value for underlying calls to
the HA EventStream
- It is no longer necessary to specify latitude, longitude and
timezone in the config file, the info is pulled from HA
- When being reloaded, Apps are now able to clean up if desired by
creating an optional `terminate()` function.
- Added support for module dependencies

**Fixes**

**Breaking Changes**

- To include a title when using the `notify()` call, you must now use
the keyword `title` instead of the optional positional parameter

1.3.7

**Features**

- Add `entity_exists()` call
- List Apps holding up initialization

**Fixes**

- Add documentation for the days constraint
- Various other contributed documentation fixes

**Breaking Changes**

None

1.3.6

**Features**

- Add device trackers to switch_reset example

**Fixes**

- Fixed a bug in which AppDaemon exited on startup if HA was not
listening causing AppDaemon failure to start on reboots
- Fixed some scheduler behavior for appd and ha restart events
- Fix presence example to only notify when state changes (e.g. not
just for position updates)
- Change door notify example to explicitly say \"open\" or \"closed\"
instead of passing through state
- Fix a bug in device_trackers example

**Breaking Changes**

None

Page 10 of 12

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.