Update fingerprint_grow.rst (#1276)

error  tostring, to_string
This commit is contained in:
haade 2021-06-26 14:00:45 +02:00 committed by GitHub
parent bee5ec47f1
commit 6824f59c0b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -202,7 +202,7 @@ To use the variables, use a :ref:`lambda <config-lambda>` template, the matched
on_finger_scan_matched:
- text_sensor.template.publish:
id: fingerprint_state
state: !lambda 'return "Authorized finger " + to_string(finger_id) + ", confidence " + tostring(confidence);'
state: !lambda 'return "Authorized finger " + to_string(finger_id) + ", confidence " + to_string(confidence);'
# Pushing a tag_scanned event based on finger_id only if confidence is greater than 50
- if:
condition: