Clear is the function that is called by the agent when we run the agent's
clear command. It will remove all the sensors, button and their data from
Home Assistant.
Run is the function that the agent calls to start our app. In it, we create
our app struct, register our app (if needed), listen for our button press,
then set up a loop to send our sensor data.