Djelibeybi / ha-lifx-beta

Beta version of the built-in LIFX integration for Home Assistant aimed at making bulb detection more consistent.
MIT License
17 stars 2 forks source link

LIFX Switch Buttons not available on some switches #63

Closed lox closed 1 year ago

lox commented 1 year ago

I'm on 2023.4.4. I have about 8 LIFX Switches connected to HA via Homekit Controller. My switches control a mix of Lifx bulbs and normal relays.

I have automations setup to respond to button presses, e.g. "single press" button1 and toggle my lights or lightgroups. For most, this works great, but I have two different switches that aren't exposing their button events, only the terminal events.

This is what a working one looks like:

image

This is one that isn't working:

image

I've tried removing the switches and re-pairing them to Homekit Controller, but the events aren't there.

This is how the working switch is configured in the LIFX app:

Wiring Setup:
  Terminal 1:
    Is this terminal wired? Yes
    What is it wired to? LIFX Light
  Terminal 2:
    Is this terminal wired? Yes
    What is it wired to? LIFX Light  
Buttons:
  All empty

This is how the non-working switch is configured:

Wiring Setup:
  Terminal 1:
    Is this terminal wired? Yes
    What is it wired to? LIFX Light
  Terminal 2:
    Is this terminal wired? No
  Terminal 3:
    Is this terminal wired? No
  Terminal 4:
    Is this terminal wired? No
Buttons:
  All empty

Any ideas or info I can provide?

lox commented 1 year ago

Oh apologies, I think I have just realized that the switch integration happens outside this integration!

ironcrafter54 commented 1 year ago

yes It is an issue with homekit controller.