kprestel / appdaemon-deconz-xiaomi-button

Appdaemon App which toggles entities for single/double/hold presses of Xiaomi buttons connected via deconz

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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
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.

Buy Me A Coffee

Contributions are welcome!

If you want to contribute to this please read the Contribution guidelines


About

Appdaemon App which toggles entities for single/double/hold presses of Xiaomi buttons connected via deconz

License:MIT License


Languages

Language:Python 92.0%Language:Dockerfile 8.0%