9 May 2024, 18:31

There's no official ingration like you know, but you can get the button press working with webhooks.

Create a Webhook in Home Assistant
Go to your Home Assistant instance.
Navigate to Configuration -> Automations and create a new automation.
Set up a trigger type as "Webhook."
Define a unique webhook ID, e.g., flic_button_press.

Connect he button with Flic App
Open the Flic app and select your Flic Hub.
Choose the Flic button you want to configure.
Add an action, select "Internet Request."
Set the method to POST.
Enter the URL of your webhook: http://homeassistant:8123/api/webhook/flic_button_press

Replace URL homeassistant with the IP address or hostname of your Home Assistant instance if this doesn't work. Ensure your Home Assistant instance allows requests from your Flic Hub.

It works inst most environments, you only need to do the webhooks once on the Flic App and after that you control it from HA. You do not get disovery or sensor data (like battery), only the button presses of different types (if you do own hook for each).