From 3f75ea95ed5f3693d5f0c8d8ccda2ff06c2418c3 Mon Sep 17 00:00:00 2001 From: gitolicious Date: Mon, 15 Apr 2019 22:06:35 +0200 Subject: [PATCH] Fixed lint and ref errors (#228) * Added newline to fix lint error * Fixed lambda calls ref errors --- components/binary_sensor/index.rst | 2 ++ components/cover/index.rst | 1 + components/sensor/index.rst | 2 ++ components/switch/index.rst | 2 ++ components/text_sensor/index.rst | 2 ++ guides/automations.rst | 2 +- 6 files changed, 10 insertions(+), 1 deletion(-) diff --git a/components/binary_sensor/index.rst b/components/binary_sensor/index.rst index 269a9d043..9e727c5f8 100644 --- a/components/binary_sensor/index.rst +++ b/components/binary_sensor/index.rst @@ -305,6 +305,8 @@ This :ref:`Condition ` checks if the given binary sensor is ON id: my_binary_sensor for: 5s +.. _binary_sensor-lambda_calls: + lambda calls ************ diff --git a/components/cover/index.rst b/components/cover/index.rst index 90bf8dc69..8441adf0b 100644 --- a/components/cover/index.rst +++ b/components/cover/index.rst @@ -72,6 +72,7 @@ This action stops the cover with the given ID when executed. id(cover_1).stop(); +.. _cover-lambda_calls: lambda calls ------------ diff --git a/components/sensor/index.rst b/components/sensor/index.rst index afa9b6b3d..ac3d9e036 100644 --- a/components/sensor/index.rst +++ b/components/sensor/index.rst @@ -399,6 +399,8 @@ Configuration variables: - **above** (*Optional*, float): The minimum for the condition. - **below** (*Optional*, float): The maximum for the condition. +.. _sensor-lambda_calls: + lambda calls ************ diff --git a/components/switch/index.rst b/components/switch/index.rst index 78fe4cce5..1aeea62af 100644 --- a/components/switch/index.rst +++ b/components/switch/index.rst @@ -93,6 +93,8 @@ This :ref:`Condition ` checks if the given switch is ON (or OF # Same syntax for is_off switch.is_on: my_switch +.. _switch-lambda_calls: + lambda calls ************ diff --git a/components/text_sensor/index.rst b/components/text_sensor/index.rst index 994928a63..6ecf5b809 100644 --- a/components/text_sensor/index.rst +++ b/components/text_sensor/index.rst @@ -62,6 +62,8 @@ In :ref:`Lambdas ` you can get the value from the trigger with `` Configuration variables: See :ref:`Automation `. +.. _text_sensor-lambda_calls: + lambda calls ************ diff --git a/guides/automations.rst b/guides/automations.rst index 288d79bf8..6bdb57fa0 100644 --- a/guides/automations.rst +++ b/guides/automations.rst @@ -364,7 +364,7 @@ All Lambda Calls - :ref:`Sensor ` - :ref:`Binary Sensor ` - :ref:`Switch ` -- :ref:`Display ` +- :ref:`Display ` - :ref:`Cover ` - :ref:`Text Sensor ` - :ref:`Stepper `