From 90f0fe2fc663e5f792d495819c437676821a80d6 Mon Sep 17 00:00:00 2001 From: Xavi Date: Sat, 16 Nov 2019 07:39:55 +0100 Subject: [PATCH] Adding hacs.json --- hacs.json | 4 ++++ info.md | 33 --------------------------------- 2 files changed, 4 insertions(+), 33 deletions(-) create mode 100644 hacs.json delete mode 100644 info.md diff --git a/hacs.json b/hacs.json new file mode 100644 index 00000000..550fdd47 --- /dev/null +++ b/hacs.json @@ -0,0 +1,4 @@ +{ + "name": "Z2M - IKEA controllers", + "render_readme": true +} diff --git a/info.md b/info.md deleted file mode 100644 index 2d09e73a..00000000 --- a/info.md +++ /dev/null @@ -1,33 +0,0 @@ -## Configuration - -For IKEA E1524/E1810: - -```yaml -nameOfYourInstanceApp: - module: z2m_ikea_controller - class: E1810Controller - sensor: - light: -``` - -For IKEA E1743: - -```yaml -nameOfYourInstanceApp: - module: z2m_ikea_controller - class: E1743Controller - sensor: - light: -``` - -_Note: This was tested with both devices and Zigbee2MQTT, but the code does not use any MQTT calls, just Home assistant API._ - -| key | optional | type | default | example | description | -| ----------------- | -------- | ------ | ------- | ------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `module` | False | string | - | `z2m_ikea_controller` | The Python module | -| `class` | False | string | - | `E1810Controller` | The Python class | -| `sensor` | False | string | - | `sensor.livingroom_controller_action` | The sensor entity id from HA. Note that for IKEA E1524/E1810 it finishes with "\_action" by default and for IKEA E1743 with "\_click". | -| `light` | False | string | - | `light.livingroom` | The light you want to control | -| `manual_steps` | True | int | 10 | | Number of steps to go from min to max when clicking. If the value is 2 with one click you will set the light to 50% and with another one to 100%. | -| `automatic_steps` | True | int | 20 | | Number of steps to go from min to max when smoothing. If the value is 2 with one click you will set the light to 50% and with another one to 100%. | -| `delay` | True | int | 150 | | Delay in milliseconds that takes between sending the instructions to the light (for the smooth functionality). Note that the maximum value is 1000 and if leaving to 0, you might get uncommon behaviour. |