# \[APP\]\[Pro\] Home Assistant - Community App

**URL:** <https://community.homey.app/t/app-pro-home-assistant-community-app/71477>\
**Category:** Apps\
**Tags:** app, tools, homey-pro, home-assistant\
**Created:** [October 31, 2022, 8:25pm UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477 "2022-10-31T20:25:26Z")\
**Posts on this page:** 1\
**Showing post:** 205

<div class="post-metadata">

**Author:** ![RonnyW](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ronnyw/32/10879_2.png) [@RonnyW](https://community.homey.app/u/RonnyW)\
**Post date:** [February 8, 2023, 6:15am UTC](https://community.homey.app/t/app-pro-home-assistant-community-app/71477/205 "2023-02-08T06:15:30Z")

</div>

As example for HA events I want to share an AdvancedFlow which reacts on HueTap events to control a receiver (on/off, input an volume).

On/off using a short and long press event:

 ![grafik](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/e/1ed830014e5a6ff2827b7993f6e53c9b08303200.png)

Change volume or light brightness using the ring.

 ![grafik](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/6/e673271bc7f64ec725954bea81e0b6aaa7fce356.png)  
 ![grafik](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/c/7/c759dc24ac549a1c8043498b4a2e7eec972c15d9.png)

The button click stores its number in a variable to remember the currently used device. It gets reset after 10sec with a timer.  
The ring step count (turning length) is read from the event data (JSON) and used to calculate the volume change. But you can also use raise/lower volume/brightness instead for single step changes.

---

_[View the full topic](https://community.homey.app/t/app-pro-home-assistant-community-app/71477)._
