diff --git a/components/binary_sensor.flic/index.html b/components/binary_sensor.flic/index.html
index 8c2b47ff8e..98e9b2269a 100644
--- a/components/binary_sensor.flic/index.html
+++ b/components/binary_sensor.flic/index.html
@@ -108,12 +108,16 @@
host (Optional): The IP or hostname of the flic service server. (default: localhost
)
port (Optional): The port of the flic service. (default: 5551
)
discovery (Optional): If true
, the component is configured to constantly scan for new buttons. (default: true
)
+ timeout (Optional): Maximum time in seconds an event can be queued locally on a button before discarding the event. (default: 3
)
Discovery
If discovery is enabled, you can add a new button by pressing it for at least 7s. The button will be paired with the flic service and added to Home Assistant. Otherwise, you have to manually pair it with the flic service. The Home Assistant platform will not scan for new buttons and will only connect to buttons already paired.
+ Timeout
++When the flic button is triggered while disconnected from flic service, it will queue all events and try to connect and transmit them as soon as possible. The timeout variable can be used to stop events from triggering if too much time passed between the action and the notification in Home Assistant.
+
Events
The flic component fires flic_click
events on the bus. You can capture the events and respond to them in automation scripts like this:
@@ -139,6 +143,7 @@
button_name: The name of the button, that triggered the event.
button_address: The bluetooth address of the button, that triggered the event.
click_type: The type of click. Possible values are single
, double
and hold
.
+ queued_time: The amount of time this event was queued on the button, in seconds.
diff --git a/sitemap.xml b/sitemap.xml
index 2af11dc7c0..91bd24e83d 100644
--- a/sitemap.xml
+++ b/sitemap.xml
@@ -2495,62 +2495,62 @@
https://home-assistant.io/demo/frontend.html
-2016-12-18T10:03:23+00:00
+2016-12-18T10:30:34+00:00
https://home-assistant.io/demo/index.html
-2016-12-18T10:03:23+00:00
+2016-12-18T10:30:34+00:00
https://home-assistant.io/demo/panels/ha-panel-dev-event.html
-2016-12-18T10:03:23+00:00
+2016-12-18T10:30:34+00:00
https://home-assistant.io/demo/panels/ha-panel-dev-info.html
-2016-12-18T10:03:23+00:00
+2016-12-18T10:30:34+00:00
https://home-assistant.io/demo/panels/ha-panel-dev-service.html
-2016-12-18T10:03:23+00:00
+2016-12-18T10:30:34+00:00
https://home-assistant.io/demo/panels/ha-panel-dev-state.html
-2016-12-18T10:03:23+00:00
+2016-12-18T10:30:34+00:00
https://home-assistant.io/demo/panels/ha-panel-dev-template.html
-2016-12-18T10:03:23+00:00
+2016-12-18T10:30:34+00:00
https://home-assistant.io/demo/panels/ha-panel-history.html
-2016-12-18T10:03:23+00:00
+2016-12-18T10:30:34+00:00
https://home-assistant.io/demo/panels/ha-panel-iframe.html
-2016-12-18T10:03:23+00:00
+2016-12-18T10:30:34+00:00
https://home-assistant.io/demo/panels/ha-panel-logbook.html
-2016-12-18T10:03:23+00:00
+2016-12-18T10:30:34+00:00
https://home-assistant.io/demo/panels/ha-panel-map.html
-2016-12-18T10:03:23+00:00
+2016-12-18T10:30:34+00:00
https://home-assistant.io/googlef4f3693c209fe788.html
-2016-12-18T10:03:23+00:00
+2016-12-18T10:30:34+00:00
https://home-assistant.io/static/fonts/roboto/DESCRIPTION.en_us.html
-2016-12-18T10:03:23+00:00
+2016-12-18T10:30:34+00:00
https://home-assistant.io/static/fonts/robotomono/DESCRIPTION.en_us.html
-2016-12-18T10:03:23+00:00
+2016-12-18T10:30:34+00:00
https://home-assistant.io/static/mdi-demo.html
-2016-12-18T10:03:23+00:00
+2016-12-18T10:30:34+00:00