Post a notification when the value of a state attribute changes.