From 29e533bbe4ab39b004c2cfd36f94c40a32057de5 Mon Sep 17 00:00:00 2001 From: Robin Date: Mon, 21 Jan 2019 19:33:20 +0000 Subject: [PATCH] Update sensor.uk_transport.markdown (#8231) --- source/_components/sensor.uk_transport.markdown | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/_components/sensor.uk_transport.markdown b/source/_components/sensor.uk_transport.markdown index b08b42895f9..5fb03bc9ba5 100644 --- a/source/_components/sensor.uk_transport.markdown +++ b/source/_components/sensor.uk_transport.markdown @@ -147,4 +147,7 @@ And the template sensor for viewing the next bus attributes. value_template: {% raw %}'{{states.sensor.next_bus_to_wantage.attributes.next_buses[0].estimated}}'{% endraw %} ``` +## Managing API requests +If you wish to manage the rate of API requests (e.g. to disable requests when you aren't interested in travel, so that you can request updates more frequently when you do travel) set a really long `scan_interval` in the config options, and use the service `homeassistant.update_entity` to request the update of an entity, rather than waiting for the next scheduled update. + Powered by [transportAPI](http://www.transportapi.com/)