notify: set STATE after executing the commands.


git-svn-id: svn://svn.code.sf.net/p/fhem/code@5418 2b470e98-0d58-463d-a4d8-8e2adae1ed80
notify: fixing last change (was always executed)


git-svn-id: svn://svn.code.sf.net/p/fhem/code@5419 2b470e98-0d58-463d-a4d8-8e2adae1ed80