Enocean FT55

Hello fedot,
Thank you for this awesome hint.
It works with every of the four buttons.

But it always fires twice, there are always two button_pressed events in the list.
If i go into debugging, there is only one command.
Can you help me to solve this last issue?
Best Regards,
Dominik

It generates two events because of pressed/released both are events. Check the data of the Event to see what Happens.

Correct. You have to specify pushed: 1 for the button press or pushed: 0 for the button release
You could do some stuff with that, i.e. fire a script on pushed: 1 and have a wait template for the pushed: 0 event, so you could have “hold button” effects

1 Like

Thanks for quick reply:
Yes i saw both events in the debug:

2020-06-08 10:44:05 DEBUG (Thread-2) [homeassistant.components.enocean] Received radio packet: 00:35:AE:E2->FF:FF:FF:FF (-92 dBm): 0x01 ['0xf6', '0x10', '0xYY', '0xYY', '0xYY', '0xYY', '0xYY'] ['0x0', '0xff', '0xff', '0xff', '0xff', '0x5c', '0x0'] OrderedDict()
2020-06-08 10:44:06 DEBUG (Thread-2) [homeassistant.components.enocean] Received radio packet: 00:35:AE:E2->FF:FF:FF:FF (-92 dBm): 0x01 ['0xf6', '0x0', '0xYY', '0xYY', '0xYY', '0xYY', '0xYY'] ['0x0', '0xff', '0xff', '0xff', '0xff', '0x5c', '0x0'] OrderedDict()

But there where two identical button_pressed events.
I had a look in my configuration.yaml and saw there where two binary sensors for that switch, that caused the problem.
After deleting one, i only got one button pressed event.

1 Like