Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Allow 202 status code as a successful REST notify response #21678
The REST notification component only allows 200 + 201 as a successful response code to the
Related issue (if applicable): N/A
Pull request in home-assistant.io with documentation (if applicable): N/A
Example entry for
The REST notification component only allows 200 + 201 as a successful response code to the submission. notify.me returns a 202 (Accepted) response, which works fine but gets logged as a warning in the log. Update the allowed statuses to treat the 202 as ok.