From 8c03d2fc3608ed8613a8f357e840c0d54ee942ab Mon Sep 17 00:00:00 2001 From: Chris Nussbaum Date: Wed, 3 May 2023 17:16:16 -0500 Subject: [PATCH] Revert template sensor publish updates (#2889) --- components/sensor/template.rst | 5 ++--- components/text_sensor/template.rst | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/components/sensor/template.rst b/components/sensor/template.rst index 01304dea7..8c971a066 100644 --- a/components/sensor/template.rst +++ b/components/sensor/template.rst @@ -35,9 +35,8 @@ Configuration variables: - **name** (**Required**, string): The name of the sensor. - **lambda** (*Optional*, :ref:`lambda `): Lambda to be evaluated every update interval to get the new value of the sensor -- **update_interval** (*Optional*, :ref:`config-time`): The interval to publish the value of the - sensor, either the result of the lambda function or if no lambda function the last value - published using the publish action. Set to ``never`` to disable updates. Defaults to ``60s``. +- **update_interval** (*Optional*, :ref:`config-time`): The interval to check the + sensor. Set to ``never`` to disable updates. Defaults to ``60s``. - **id** (*Optional*, :ref:`config-id`): Manually specify the ID used for code generation. - All other options from :ref:`Sensor `. diff --git a/components/text_sensor/template.rst b/components/text_sensor/template.rst index ac65bbd93..5886e5dcf 100644 --- a/components/text_sensor/template.rst +++ b/components/text_sensor/template.rst @@ -31,9 +31,8 @@ Configuration variables: - **name** (**Required**, string): The name of the text sensor. - **lambda** (*Optional*, :ref:`lambda `): Lambda to be evaluated every update interval to get the new value of the text sensor -- **update_interval** (*Optional*, :ref:`config-time`): The interval to publish the value of the - text sensor, either the result of the lambda function or if no lambda function the last value - published using the publish action. Defaults to ``60s``. +- **update_interval** (*Optional*, :ref:`config-time`): The interval to check the + text sensor. Set to ``never`` to disable updates. Defaults to ``60s``. - **id** (*Optional*, :ref:`config-id`): Manually specify the ID used for code generation. - All other options from :ref:`Text Sensor `.