AttributeError: web_watch instance has no attribute 'timer_id': that's because the watch hasn't been started.
KeyError: 'type': as you can see on your last comment, the watch is missing a lot of options
I think this has to be fixed using exceptions to make sure all options are correct.
Else the watch shouldn't be created at all and a warning should be displayed that the user has to input the right values.
AttributeError: web_watch instance has no attribute 'timer_id': that's because the watch hasn't been started.
KeyError: 'type': as you can see on your last comment, the watch is missing a lot of options
I think this has to be fixed using exceptions to make sure all options are correct.
Else the watch shouldn't be created at all and a warning should be displayed that the user has to input the right values.