mirror of
https://github.com/esphome/esphome-docs.git
synced 2024-11-13 10:34:02 +01:00
[http_request] Change default timeout to 4.5s (#4077)
This commit is contained in:
parent
170f770b71
commit
49ee0d6002
@ -22,7 +22,7 @@ Configuration variables:
|
|||||||
- **id** (*Optional*, :ref:`config-id`): Manually specify the ID used for code generation.
|
- **id** (*Optional*, :ref:`config-id`): Manually specify the ID used for code generation.
|
||||||
- **follow_redirects** (*Optional*, boolean): Enable following HTTP redirects. Defaults to ``true``.
|
- **follow_redirects** (*Optional*, boolean): Enable following HTTP redirects. Defaults to ``true``.
|
||||||
- **redirect_limit** (*Optional*, integer): Maximum amount of redirects to follow when enabled. Defaults to ``3``.
|
- **redirect_limit** (*Optional*, integer): Maximum amount of redirects to follow when enabled. Defaults to ``3``.
|
||||||
- **timeout** (*Optional*, :ref:`config-time`): Timeout for request. Defaults to ``5s``.
|
- **timeout** (*Optional*, :ref:`config-time`): Timeout for request. Defaults to ``4.5s``.
|
||||||
- **useragent** (*Optional*, string): User-Agent header for requests. Defaults to
|
- **useragent** (*Optional*, string): User-Agent header for requests. Defaults to
|
||||||
``ESPHome/<version> (https://esphome.io)`` where ``<version>`` is the version of ESPHome the device is running.
|
``ESPHome/<version> (https://esphome.io)`` where ``<version>`` is the version of ESPHome the device is running.
|
||||||
For example: ``ESPHome/2024.6.0 (https://esphome.io)``
|
For example: ``ESPHome/2024.6.0 (https://esphome.io)``
|
||||||
|
Loading…
Reference in New Issue
Block a user