From 5d4a1eb93438c60378239d87882a9d3677ba6a96 Mon Sep 17 00:00:00 2001 From: s-martin Date: Fri, 1 Jan 2021 10:25:53 +0100 Subject: [PATCH] Added stop on removal functionality example (#1209) See #1049 --- .../gpio_control/example_configs/gpio_settings.ini | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/components/gpio_control/example_configs/gpio_settings.ini b/components/gpio_control/example_configs/gpio_settings.ini index 87d786bcb..8a2176468 100755 --- a/components/gpio_control/example_configs/gpio_settings.ini +++ b/components/gpio_control/example_configs/gpio_settings.ini @@ -89,4 +89,11 @@ Type: Button Pin: 21 pull_up: True hold_time: 0.3 -functionCall: functionCallPlayerPauseForce \ No newline at end of file +functionCall: functionCallPlayerPauseForce + +[RFIDDevice] +enable: True +Type: Button +Pin: 21 +pull_up: True +functionCall: functionCallPlayerStop