### The problem
Only in relation to Hue integration and use of "Friends of Hue"… switches.
When a button is released, after a long hold, it fires both a "long_release" event and a "short_release" event. They both come after the "repeat" event.
It should fire either long or short, not both.
### What version of Home Assistant Core has the issue?
2022.07.4
### What was the last working version of Home Assistant Core?
Not sure it have ever worked. Have not used it before
### What type of installation are you running?
Home Assistant OS
### Integration causing the issue
Philips Hue
### Link to integration documentation on our website
_No response_
### Diagnostics information
Here is a view from the developer page, listen for event from "hue_event"
`Event 7 fired 18:05:
{
"event_type": "hue_event",
"data": {
"id": "kokken_kontakt_button",
"device_id": "fd73dbd53347a21ed0f89420657d04f8",
"unique_id": "4a777d96-8a78-4aaf-b660-4fd083848706",
"type": "long_release",
"subtype": 1
},
"origin": "LOCAL",
"time_fired": "2022-07-16T16:05:29.198449+00:00",
"context": {
"id": "01G83W3YFEEF0V1TVDMDX9N4PC",
"parent_id": null,
"user_id": null
}
}
Event 6 fired 18:05:
{
"event_type": "hue_event",
"data": {
"id": "kokken_kontakt_button",
"device_id": "fd73dbd53347a21ed0f89420657d04f8",
"unique_id": "4a777d96-8a78-4aaf-b660-4fd083848706",
"type": "short_release",
"subtype": 1
},
"origin": "LOCAL",
"time_fired": "2022-07-16T16:05:28.888888+00:00",
"context": {
"id": "01G83W3Y5RY84K30MGNETW57BY",
"parent_id": null,
"user_id": null
}
}
Event 5 fired 18:05:
{
"event_type": "hue_event",
"data": {
"id": "kokken_kontakt_button",
"device_id": "fd73dbd53347a21ed0f89420657d04f8",
"unique_id": "4a777d96-8a78-4aaf-b660-4fd083848706",
"type": "repeat",
"subtype": 1
},
"origin": "LOCAL",
"time_fired": "2022-07-16T16:05:28.695256+00:00",
"context": {
"id": "01G83W3XZQTSKJ6N7KAVXHDEJ7",
"parent_id": null,
"user_id": null
}
}
Event 4 fired 18:05:
{
"event_type": "hue_event",
"data": {
"id": "kokken_kontakt_button",
"device_id": "fd73dbd53347a21ed0f89420657d04f8",
"unique_id": "4a777d96-8a78-4aaf-b660-4fd083848706",
"type": "repeat",
"subtype": 1
},
"origin": "LOCAL",
"time_fired": "2022-07-16T16:05:28.192300+00:00",
"context": {
"id": "01G83W3XG02X06DYG5N694QMCY",
"parent_id": null,
"user_id": null
}
}
Event 3 fired 18:05:
{
"event_type": "hue_event",
"data": {
"id": "kokken_kontakt_button",
"device_id": "fd73dbd53347a21ed0f89420657d04f8",
"unique_id": "4a777d96-8a78-4aaf-b660-4fd083848706",
"type": "repeat",
"subtype": 1
},
"origin": "LOCAL",
"time_fired": "2022-07-16T16:05:27.689119+00:00",
"context": {
"id": "01G83W3X09SWGE87CAJ5DQHVJW",
"parent_id": null,
"user_id": null
}
}
Event 2 fired 18:05:
{
"event_type": "hue_event",
"data": {
"id": "kokken_kontakt_button",
"device_id": "fd73dbd53347a21ed0f89420657d04f8",
"unique_id": "4a777d96-8a78-4aaf-b660-4fd083848706",
"type": "repeat",
"subtype": 1
},
"origin": "LOCAL",
"time_fired": "2022-07-16T16:05:27.186192+00:00",
"context": {
"id": "01G83W3WGJFCHD5DMJPZ9RJ85G",
"parent_id": null,
"user_id": null
}
}
Event 1 fired 18:05:
{
"event_type": "hue_event",
"data": {
"id": "kokken_kontakt_button",
"device_id": "fd73dbd53347a21ed0f89420657d04f8",
"unique_id": "4a777d96-8a78-4aaf-b660-4fd083848706",
"type": "repeat",
"subtype": 1
},
"origin": "LOCAL",
"time_fired": "2022-07-16T16:05:26.683095+00:00",
"context": {
"id": "01G83W3W0VA3ZEAD1AHE41R2S9",
"parent_id": null,
"user_id": null
}
}
Event 0 fired 18:05:
{
"event_type": "hue_event",
"data": {
"id": "kokken_kontakt_button",
"device_id": "fd73dbd53347a21ed0f89420657d04f8",
"unique_id": "4a777d96-8a78-4aaf-b660-4fd083848706",
"type": "initial_press",
"subtype": 1
},
"origin": "LOCAL",
"time_fired": "2022-07-16T16:05:25.176725+00:00",
"context": {
"id": "01G83W3THR9M5CS47CB60WAKGM",
"parent_id": null,
"user_id": null
}
}`
### Example YAML snippet
_No response_
### Anything in the logs that might be useful for us?
```txt
Nothing in the logs
```
### Additional information
_No response_