aronsky / esphome-components

Custom components for ESPHome
MIT License
31 stars 22 forks source link

The Pair option does not appear #14

Closed 3khenrique closed 4 weeks ago

3khenrique commented 4 weeks ago

Thank you for your incredible work. I am completely new to automation and just starting in this world. I recently purchased two LampSmart Pro lamps and would like to connect and automate them.

However, the service that should be exposed to pair with my lamps isn't available, and I can't send a pair command to connect them.

There's only one entity on my HA: image

And I Have no options to make the pair working: image

Here is my configuration:

esphome:
  name: lampada

esp32:
  board: esp32dev
  framework:
    type: arduino

# Enable logging
logger:

# Example configuration entry
api:

ota:

wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password

external_components:
  source: github://aronsky/esphome-components

# LampSmart Pro
light:
  - platform: ble_adv_light
    type: lampsmart_pro
    name: lampada
    duration: 750
    default_transition_length: 0s

Any guidance on how to solve this issue would be greatly appreciated.

sphen13 commented 4 weeks ago

no worries - its not super easy to find. you need to go under developer tools -> service, and find the new esphome "pair" service for the "lampada" you have created. once pulling the service up, you will "call the service" within 5 seconds of the lamp getting power.

Screenshot 2024-06-05 at 3 59 55 PM

3khenrique commented 4 weeks ago

Thank you for the quick response ❤️ !!! I managed to configure and pair with my lamp 🎉 . Your project is fantastic, I hope I can contribute soon.