Merge changes from topic "newapi" into main

* changes:
  Use autoOn new api.
  Add auto on broadcast handling.