Pytradfri

Latest version: v13.0.0

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

Scan your dependencies

Page 10 of 11

2.1

2.0

This release includes a number of changes to the way commands are performed, please refer to the updated documentation, and updated example files to learn more!

This release also includes support for async functionality :sparkles:.

1.1

- Remove passing in an unneeded identity to `coap-client` (ws141 - 15)
- Add basic support for smart tasks (ggravlingen - 18)

python
tasks = gateway.get_smart_tasks()
tasks[0].repeat_days_list


- Always pass url as last argument to fix issue on OS X (viernullvier - 19)
- Add support for observing devices and groups (balloob - 20)

python
def change_listener(device):
print(device.name + " is now " + str(device.light_control.lights[0].state))

lights[0].observe(change_listener)


- Add `set_state` and `set_dimmer` to groups (balloob - 20)

python
group.set_state(0)
group.set_dimmer(130)


- Fix `script/dev_docker` on OS X (tomgidden - 21)

1.0

First official release.

Breaking change with the 0.x series: `coap-client` now has to be compiled without debug output. (Thanks to rubenbe - 12). See our [updated installation instructions](https://github.com/ggravlingen/pytradfri#installation).

0.5

Added support for retry

0.4

Page 10 of 11

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.