Awesome
appdaemon-deconz-xiaomi-button
App which toggles entities for single/double/hold presses of Xiaomi buttons connected via deconz
Installation
HACS
The easiest way to add this to your Homeassistant installation is using HACS. And then follow the instructions under Configuration below.
Manual
Download the deconz_xiaomi_button
directory from inside the apps
directory here to your local apps
directory, then add the configuration to enable the deconz_xiaomi_button
module.
App configuration
Whatevernameyoulike:
module: deconz_xiaomi_button
class: DeconzXiaomiButton
id: lobby_switch
actor_single: light.lobby
key | optional | type | default | description |
---|---|---|---|---|
module | False | string | deconz_xiaomi_button | The module name of the app. There shouldn't be any reason to change this. |
class | False | string | DeconzXiaomiButton | The name of the Class. There shouldn't be any reason to change this. |
id | False | string | The id of the xiaomi button. | |
actor_single | True | string | The entity_id to toggle on a single button press. | |
actor_double | True | string | The entity_id to toggle on a double button press. | |
actor_hold | True | string | The entity_id of the light to dim up when holding the button. |
<a href="https://www.buymeacoffee.com/eifinger" target="_blank"><img src="https://www.buymeacoffee.com/assets/img/custom_images/black_img.png" alt="Buy Me A Coffee" style="height: auto !important;width: auto !important;" ></a><br>
Contributions are welcome!
If you want to contribute to this please read the Contribution guidelines