From 53fae2414998d01ff174a8b61db99d56dd5bc3dd Mon Sep 17 00:00:00 2001 From: s-martin Date: Tue, 15 Dec 2020 23:43:41 +0100 Subject: [PATCH] Added stop on removal functionality example 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