From e3d5e53876db27c287f378b178a1ef8d95071143 Mon Sep 17 00:00:00 2001 From: Christian Schneider Date: Fri, 7 Jan 2022 19:42:56 +0100 Subject: [PATCH] Added workaround for using analog pins with binary_sensors (#21047) --- source/_integrations/firmata.markdown | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/_integrations/firmata.markdown b/source/_integrations/firmata.markdown index a3739f91fe8..8742c9e6aa2 100644 --- a/source/_integrations/firmata.markdown +++ b/source/_integrations/firmata.markdown @@ -142,7 +142,7 @@ binary_sensor: required: true type: string pin: - description: The digital or analog pin number on the board. + description: The digital or analog pin number on the board. For analog pins the corresponding digital number must be used. Please use the pinout that corresponds to your board. For example, on the Arduino Uno, pin A2 corresponds to the digital pin number 16. required: true type: [integer, string] pin_mode: @@ -232,7 +232,7 @@ firmata: negate: true - name: my_other_door pin_mode: INPUT - pin: A1 + pin: 16 # A2 negate: true sensors: - name: my_sensor