From f5b5c150f1456d7200282b8b78d7b85cc4c997fe Mon Sep 17 00:00:00 2001 From: Rob Coleman Date: Tue, 22 Nov 2022 01:07:59 -0800 Subject: [PATCH] Correct the state attribute example (#25020) --- source/_docs/scripts/conditions.markdown | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/_docs/scripts/conditions.markdown b/source/_docs/scripts/conditions.markdown index 2c20b2a2ad9..a51e0d891c2 100644 --- a/source/_docs/scripts/conditions.markdown +++ b/source/_docs/scripts/conditions.markdown @@ -306,8 +306,8 @@ The condition will pass if the attribute matches the given state. condition: condition: state entity_id: climate.living_room_thermostat - attribute: hvac_modes - state: "heat" + attribute: fan_mode + state: "auto" ``` Finally, the `state` option accepts helper entities (also known as `input_*`