Skip to content

Crownstone switch command rework & coroutines in eventbus

Compare
Choose a tag to compare
@RicArch97 RicArch97 released this 09 Nov 22:27
· 26 commits to master since this release

Internal changes:

  • Changed some files names according to PEP 8 guidelines.

Breaking:

  • EVENT_COMMAND_SWITCH_CROWNSTONE has been changed to EVENT_COMMAND_SWITCH_MULTIPLE_CROWNSTONES. It is now possible to receive an event that requests to switch or dim multiple Crownstones.

New:

  • You can now submit coroutine functions in an event listener. They will be scheduled in event loop that the client runs in.