Best way to use variables

I had to revert back. But I will revisit in the next day or so. If the restriction is that only child widgets of plants can have their polling disabled then it should be simple enough to add.