dcc.Interval Disabled Boolean Switch Example

what error are you getting now?

by the way, so it looks better, just write:

@app.callback([Output("live-update-graph", "figure"), Output("boolean-switch-output", "children")],
              [Input('interval-component', 'n_intervals'), Input('interval-component', 'disabled')])

Look at this post on your error message, and see if they have the solution for you.