home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
73.54k stars 30.72k forks source link

Apple Home KIT Button actions not working #98244

Closed nunokaneco closed 1 year ago

nunokaneco commented 1 year ago

The problem

Hello Team

I'm facing a issue with some wireless virtual buttons that are available by this integration for the device Aqara-S1E Touch Control Smart Switch.

This device have 3 physicals switches image

And 6 virtual wireless buttons that are available/exposed to Home Assistant by using this integration HomeKit Device

image

The problem is when I try to use this last ones to Triger a automations nothing happens

This is my automations

image

Is anyone also facing a problem using this kind buttons in this integration ?

Please let me know if you need any further information form my side

Thank you for your support

What version of Home Assistant Core has the issue?

Home Assistant 2023.7.3

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

HomeKit Device

Link to integration documentation on our website

https://www.home-assistant.io/integrations/homekit_controller

Diagnostics information

No response

Example YAML snippet

alias: Magic
description: ""
trigger:
  - platform: device
    device_id: a090c8b83f888620c8e56d4705a474b4
    domain: homekit_controller
    type: button1
    subtype: single_press
condition: []
action:
  - type: toggle
    device_id: 97b42e87ace3330f1d3fceb9e460a659
    entity_id: fe9000433e3e2040ced7a0df5e0591d3
    domain: switch
mode: single

Anything in the logs that might be useful for us?

No response

Additional information

No response

home-assistant[bot] commented 1 year ago

Hey there @jc2k, @bdraco, mind taking a look at this issue as it has been labeled with an integration (homekit_controller) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `homekit_controller` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign homekit_controller` Removes the current integration label and assignees on the issue, add the integration domain after the command.

(message by CodeOwnersMention)


homekit_controller documentation homekit_controller source (message by IssueLinks)

Jc2k commented 1 year ago

Not a fix for your existing automations but in 2023.8 those buttons are exposed as event entities as well. Going forward they are the preferred way to use these sorts of button.

nunokaneco commented 1 year ago

Not a fix for your existing automations but in 2023.8 those buttons are exposed as event entities as well. Going forward they are the preferred way to use these sorts of button.

Hello I performed the last update and currently is on the version Home Assistant 2023.8.1

And the issue is solved thank you for your support !