Home Assistant - Cloudflare Pages Build Usage

Home Assistant - Cloudflare Pages Build Usage#

1. Project Objective#

Add a simple Home Assistant sensor that shows how much of the Cloudflare Pages monthly build allowance has been used.

The sensor should answer:

How many of my 500 Cloudflare Pages builds have I used this month?

2. Project Scope#

The project will deliver one Home Assistant entity:

sensor.cloudflare_pages_builds

The sensor will show:

  • builds used this month;
  • builds remaining;
  • percentage of the monthly allowance used;
  • usage by Pages project;
  • the current reporting month;
  • the time of the last successful update;
  • whether the information is current or unavailable.

This project does not include a dashboard, automation, custom integration, HACS component, or unrelated Home Assistant changes.