Home Assistant Alerts is a database of alerts for Home Assistant users. Alerts will be able to be tied to integrations, Python versions, Python packages or operating systems.
The goal will be to integrate this into Home Assistant so that users can subscribe to alerts that impact their installation. It will also function as a standalone website too.
Install dependencies using yarn
. Then run script/develop
. Dev environment will be available on http://localhost:5000 and at http://localhost:5000/demo_alert_link.html.
Alerts can have the following meta data:
When the alert was created.
When the alert was updated.
Home Assistant versions impacted.
URL of a relevant GitHub issue.
List of impacted integrations combined with version ranges.
List of impacted Python packages combined with version ranges.
Deployment is done with script/deploy
. It will build the app and sync it to an s3 bucket.
The s3 bucket needs to be configured for static website hosting with default page index.html
.
Under Permissions -> CORS Configuration, add the following:
<CORSConfiguration>
<CORSRule>
<AllowedOrigin>*</AllowedOrigin>
<AllowedMethod>GET</AllowedMethod>
</CORSRule>
</CORSConfiguration>