Could you please provide more information about what you would like to do, rather than how you think it should be done? From what you provided, it sounds like a rule would work, but using Items rather than Things, if you need State information. Scripted automation is much more powerful than the DSL and can do anything that an addon can do.
If a rule is not enough, this does not sound to me like it would fit as a binding. In OH 3.0 though, it looks like a new “automation” category will be added for add-ons, which may be more fitting.