Support for the Avi-on Bluetooth dimmer switch Avi-On.

To enable these lights, add the following lines to your configuration.yaml file:

# Example configuration.yaml entry
  - platform: avion
        name: Light 1
        api_key: Gr35a/rt3RgaRenl9ag8Ba==
        name: Bulb 2
        api_key: Gr35a/rt3RgaRenl9ag8Ba==

Configuration variables:

  • devices: A list of devices with their bluetooth address, a custom name to use in the frontend and the API key. The API key can be obtained by executing the following command:
curl -X POST -H "Content-Type: application/json" -d '{"email": "[email protected]", "password": "password"}' https://admin.avi-on.com/api/sessions | jq

with the email and password fields replaced with those used when registering the device via the mobile app. The passphrase field of the output should be used as the API key in the configuration.