Change kiosk_mode with a button

hello i’ve a problem.
i want to change true/false on kiosk_mode with a button in the dashboard

kiosk_mode:
  hide_header: {is_state('input_boolean.kiosk', 'on')}

if someone know a solution, pls help

Go here!..works like a charm