added multiple states in the raw formula sensor