switch: call blue-merle-switch when toggling the button to on

This commit is contained in:
Tobias Mueller 2023-10-17 09:23:58 +02:00
parent 29db0fab27
commit 881e9792c7
1 changed files with 1 additions and 0 deletions

View File

@ -9,6 +9,7 @@ logger -p notice -t blue-merle-toggle "Called... ${action}"
if [ "$action" = "on" ];then
mcu_send_message "Blue Merle ${action}"
echo "on" > /tmp/sim_change_switch
/usr/bin/blue-merle-switch
elif [ "$action" = "off" ];then
mcu_send_message "Blue Merle ${action}"