Fix typo in test3.yaml (#1928)

This commit is contained in:
Barry Loong 2021-06-17 17:39:59 +08:00 committed by GitHub
parent 607c3ae651
commit e5929225eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1097,27 +1097,27 @@ fingerprint_grow:
new_password: 0xA65B9840
on_finger_scan_matched:
- homeassistant.event:
event: esphome.${devicename}_fingerprint_grow_finger_scan_matched
event: esphome.${device_name}_fingerprint_grow_finger_scan_matched
data:
finger_id: !lambda 'return finger_id;'
confidence: !lambda 'return confidence;'
on_finger_scan_unmatched:
- homeassistant.event:
event: esphome.${devicename}_fingerprint_grow_finger_scan_unmatched
event: esphome.${device_name}_fingerprint_grow_finger_scan_unmatched
on_enrollment_scan:
- homeassistant.event:
event: esphome.${devicename}_fingerprint_grow_enrollment_scan
event: esphome.${device_name}_fingerprint_grow_enrollment_scan
data:
finger_id: !lambda 'return finger_id;'
scan_num: !lambda 'return scan_num;'
on_enrollment_done:
- homeassistant.event:
event: esphome.${devicename}_fingerprint_grow_node_enrollment_done
event: esphome.${device_name}_fingerprint_grow_node_enrollment_done
data:
finger_id: !lambda 'return finger_id;'
on_enrollment_failed:
- homeassistant.event:
event: esphome.${devicename}_fingerprint_grow_enrollment_failed
event: esphome.${device_name}_fingerprint_grow_enrollment_failed
data:
finger_id: !lambda 'return finger_id;'
uart_id: uart6