Home

Awesome

appdaemon-deconz-xiaomi-button

GitHub Release GitHub Activity License

hacs Project Maintenance BuyMeCoffee

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
keyoptionaltypedefaultdescription
moduleFalsestringdeconz_xiaomi_buttonThe module name of the app. There shouldn't be any reason to change this.
classFalsestringDeconzXiaomiButtonThe name of the Class. There shouldn't be any reason to change this.
idFalsestringThe id of the xiaomi button.
actor_singleTruestringThe entity_id to toggle on a single button press.
actor_doubleTruestringThe entity_id to toggle on a double button press.
actor_holdTruestringThe 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