juju35/ha-system-hub
À propos
Home Assistant admin hub in one sidebar panel: System Monitor, Home Assistant's Docker containers, Marketplace updates, Integration Watchdog, batteries, Git Sync, failed automations and orphaned entities, as optional modules, with their Lovelace cards.
Systèmes et infrastructureWhat you can do
- Resources: CPU, RAM, disks, temperature, network and processes (from System Monitor), with Reload configuration, Restart and Reboot the host buttons and shortcuts
- Containers: Home Assistant Core, the Supervisor and every add-on — state, version, CPU, memory. Monitoring only, nothing is restarted
- Database: size and growth of the recorder's database (SQLite, MariaDB / MySQL, PostgreSQL), its tables, the devices that write the most, and an advised recorder: configuration to copy
- Security group: refused logins, accounts and 2FA, long-lived tokens, exposure, unprotected add-ons, passwords written in clear in the YAML files and, optionally, the hosts Home Assistant contacts
Progression mesurée des étoiles
- in 24h
- +1
- in 7 days
- +2
- in 15 days
- +8
- in 1 month
- Historique en cours
Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.
README.md
Originalha-system-hub
![]()
Home Assistant integration that looks after your Home Assistant in one admin panel: resources, containers, database, security, logs, updates, backups, unavailable integrations, silent devices, batteries, Git versioning of the configuration and leftover entities. Each feature is a module you turn on or off, and each module comes with its own Lovelace card.
[!TIP] New to System Hub? The user guide walks you through the install, the choice of modules, the panel and the everyday tasks. This README is the full reference.
System Hub replaces ha-system-monitor-card, ha-marketplace-refresh, ha-integration-watchdog, ha-battery-monitor, ha-git-sync, ha-orphan-entities and ha-automation-monitor-card: see Migrating.

| System Monitor | Sentinel | Updates |
|---|---|---|
![]() |
![]() |
![]() |
| Batteries | Versioning | Cleanup |
|---|---|---|
![]() |
![]() |
![]() |
| Automations | Security | |
|---|---|---|
![]() |
![]() |
Features
- One admin panel in the sidebar, with a Status tab that scores the health of the instance out of 100 and points at what needs a look, and a count badge on its sidebar entry
- System group
- Resources: CPU, RAM, disks, temperature, network and processes (from System Monitor), with Reload configuration, Restart and Reboot the host buttons and shortcuts
- Containers: Home Assistant Core, the Supervisor and every add-on — state, version, CPU, memory. Monitoring only, nothing is restarted
- Database: size and growth of the recorder's database (SQLite, MariaDB / MySQL, PostgreSQL), its tables, the devices that write the most, and an advised
recorder:configuration to copy
- Security group: refused logins, accounts and 2FA, long-lived tokens, exposure, unprotected add-ons, passwords written in clear in the YAML files and, optionally, the hosts Home Assistant contacts
- Reliability group
- Logs: the log grouped by integration, only frequent errors counted as a problem
- Sentinel: reloads the integrations whose entities are all unavailable, and power cycles hung devices through their smart plug
- Automations: failed automations and unavailable entities, as reported by Automation Monitor
- Maintenance group
- Updates: every update in one place — Core, Supervisor, OS, add-ons, firmware and Marketplace repositories — with Update all and a server-side Marketplace check
- Backups: last and next backup, each location, the last 30 days, Back up now
- Purge: deletes old files every night in the folders you pick (
mcp_backupsby default) - Versioning: commits and pushes the configuration to Git, with AI commit messages, and exports the dashboards
- Devices group
- Silent devices: Zigbee, Z-Wave, Matter, ESPHome, deCONZ and Bluetooth devices not heard from, weak signals, and an interactive map of each network
- Batteries: low batteries notified twice a day, replacement forecast, spare batteries to buy
- Cleanup: entities their integration no longer provides and devices left behind, removed or ignored in bulk
- Lovelace cards for the status and every module, served by the integration: nothing else to install
- Light and dark themes, 22 languages
Supported integrations
| Integration | Used for |
|---|---|
| Resources tab and System Monitor cards | |
| Containers module and the disk wear of the Resources tab (Home Assistant OS and Supervised installations) | |
| Marketplace | Updates module |
| Backups module | |
| Database module | |
| Logs module | |
| Silent devices module (the integrations followed can be chosen) | |
| Bluetooth network of the Silent devices module | |
| Database size on the System Monitor cards | |
| Commit messages of the Versioning module (optional) | |
| Automation Monitor (custom integration) | Automations module and cards |
| Battery Notes (custom integration, optional) | Battery types of the Batteries module |
Prerequisites
- Home Assistant 2024.12 or newer; the Updates module needs 2026.11 or newer (the Marketplace came with it)
- The Containers module needs the Supervisor (Home Assistant OS or a Supervised installation)
- The Resources tab and the System Monitor cards need the System Monitor integration, with the sensors you want enabled (see System Monitor)
- The Versioning module needs a Git repository (see Versioning)
Installation
Via the Marketplace (recommended)
Click the button below to add the repository directly:
Then click Install and restart Home Assistant.
Or manually:
- Open Settings → Marketplace → Add from link (top right; this needs a GitHub account connected)
- Add
https://github.com/juju35/ha-system-hub— Type: Integration - Open System Hub and click Install
- Restart Home Assistant
Before Home Assistant 2026.11, add it the same way as a custom repository of HACS (HACS → ⋮ → Custom repositories, Type: Integration).
Manual
Copy custom_components/system_hub/ to /config/custom_components/system_hub/, then restart Home Assistant.
Configuration
- Settings → Devices & services → Add integration → System Hub
- Choose the modules to turn on
- Open System Hub in the sidebar: everything else is set in its Settings tab
Configure on the integration's page opens the same settings, as a menu.
Modules
| Module | Panel tab | On by default | Key (module:, actions) |
|---|---|---|---|
| Resources | System → Resources | always | system |
| Containers | System → Containers | with the Supervisor | containers |
| Database | System → Database | with the recorder | database |
| Security | Security | yes | security |
| Logs | Reliability → Logs | yes | logs |
| Sentinel | Reliability → Sentinel | yes | watchdog |
| Automations | Reliability → Automations | with Automation Monitor | automations |
| Updates | Maintenance → Updates | with the Marketplace | marketplace |
| Backups | Maintenance → Backups | with the Backup integration | backups |
| Purge | Maintenance → Purge | no (deletes files) | purge |
| Versioning | Maintenance → Versioning | no (needs a repository) | git_sync |
| Silent devices | Devices → Silent devices | with a Zigbee, Z-Wave, Matter, ESPHome, deCONZ or Bluetooth integration | silent |
| Batteries | Devices → Batteries | yes | batteries |
| Cleanup | Devices → Cleanup | yes | orphans |
A module turned off stops its checks, removes its entities, device and tab, and its actions fail with The … module is turned off. Its settings and saved state are kept, so turning it back on picks up where it left off.
Each module has its own device (System Hub Sentinel, System Hub Updates…) holding its entities. The entity IDs in this README are those of a new installation in English; an installation made before 2.0 keeps its older IDs (sensor.system_hub_watchdog_…, …_marketplace_…, …_git_sync_…, …_orphans_…), and the cards find their entities whatever their IDs.
Settings tab
- Modules: a switch per module, a handle ═ (or ↑ ↓) to order the groups and the tabs — the first one opens by default — then Save or Discard
- ⚙ on a module: opens its settings in place (Home Assistant's own forms, with the same checks as the integration's options), with its further steps: power cycles, battery types, the Git repository…
- Display: Hide the top bar (for everyone or for non-admins only), the Shortcuts next to the restart buttons (File editor, Marketplace and Settings by default; also Integrations, Logs and Developer tools) and the Buttons shown (Reload configuration, Restart, Reboot the host)
| Light | Dark |
|---|---|
![]() |
![]() |
Each module's settings
| Settings | Light | Dark |
|---|---|---|
| System thresholds | ![]() |
![]() |
| Containers | ![]() |
![]() |
| Database | ![]() |
![]() |
| Security | ![]() |
![]() |
| Logs | ![]() |
![]() |
| Sentinel | ![]() |
![]() |
| Sentinel: Power cycle a device | ![]() |
![]() |
| Automations | ![]() |
![]() |
| Updates | ![]() |
![]() |
| Backups | ![]() |
![]() |
| Purge | ![]() |
![]() |
| Versioning | ![]() |
![]() |
| Versioning: Repository settings | ![]() |
![]() |
| Silent devices | ![]() |
![]() |
| Batteries | ![]() |
![]() |
| Batteries: Battery types | ![]() |
![]() |
| Batteries: Import from Battery Monitor | ![]() |
![]() |
| Cleanup | ![]() |
![]() |
Diagnostics
Settings → Devices & services → System Hub → ⋮ → Download diagnostics gives the options, the modules turned on and the state of each one. Integration titles, notify actions and tokens are redacted.
Panel
System Hub in the sidebar (administrators only) gathers everything on one page: an illustrated banner at the top, then the tabs — Status, the five groups (System, Security, Reliability, Maintenance, Devices) with their modules as sub-tabs, and Settings. A group shows only when one of its modules is on; its tab carries a badge with how many modules need a look. The tab shown is in the address (/system-hub/watchdog, /system-hub/devices…), so a link or a reload opens it again.
Status tab
The Status tab scores the health out of 100: 100, minus 15 per area needing action, 5 per area to watch and 1 per area with something to know. Its header shows the points to check and the score; then come the critical areas to handle first, each with View, and a tile per area, grouped like the tabs.


The sidebar entry carries a badge with the number of points to check, in the Status tone (green when healthy, amber to watch, red for a problem), like the notifications count. It is refreshed by the panel when open, else every 5 minutes on an administrator's page.

Screenshots
Every tab, light and dark
| Tab | Light | Dark |
|---|---|---|
| Status | ![]() |
![]() |
| Resources | ![]() |
![]() |
| Containers | ![]() |
![]() |
| Database | ![]() |
![]() |
| Security · Logins | ![]() |
![]() |
| Security · Accounts | ![]() |
![]() |
| Security · Add-ons & config | ![]() |
![]() |
| Security · Outbound | ![]() |
![]() |
| Logs | ![]() |
![]() |
| Sentinel | ![]() |
![]() |
| Automations | ![]() |
![]() |
| Updates | ![]() |
![]() |
| Backups | ![]() |
![]() |
| Purge | ![]() |
![]() |
| Versioning | ![]() |
![]() |
| Silent devices | ![]() |
![]() |
| Batteries | ![]() |
![]() |
| Cleanup | ![]() |
![]() |
| On a phone | ![]() |
![]() |
Animated headers
Each tab opens on an illustrated header whose scene follows the module's status, with a night picture in the dark theme.
| Header | Light | Dark |
|---|---|---|
| Status, critical | ![]() |
![]() |
| Status, to watch | ![]() |
![]() |
| Status, all good | ![]() |
![]() |
| Resources | ![]() |
![]() |
| Containers | ![]() |
![]() |
| Database | ![]() |
![]() |
| Security | ![]() |
![]() |
| Security · Accounts | ![]() |
![]() |
| Security · Add-ons & config | ![]() |
![]() |
| Security · Outbound | ![]() |
![]() |
| Logs | ![]() |
![]() |
| Sentinel | ![]() |
![]() |
| Automations | ![]() |
![]() |
| Updates | ![]() |
![]() |
| Updates, installing | ![]() |
![]() |
| Backups | ![]() |
![]() |
| Purge | ![]() |
![]() |
| Versioning | ![]() |
![]() |
| Silent devices | ![]() |
![]() |
| Batteries | ![]() |
![]() |
| Cleanup | ![]() |
![]() |
| Settings | ![]() |
![]() |
Modules
Each module below: what its tab shows, its settings, entities, actions and events. The actions are for administrators unless said otherwise.
Resources
The Resources tab shows CPU, RAM, temperature and disk as rings with their last 24 hours, swap, load, network, uptime, IP address, Core and OS versions (orange with an update), database size, the wear of the host's disk (SSD / eMMC, from the Supervisor's Disk lifetime sensor, off by default; orange from 80 %, red from 90 %) and backups, history charts (1 h to 7 days), every disk and the processes System Monitor watches. Values turn orange then red from the thresholds of Settings → System ⚙ (CPU 70/90 %, RAM 70/90 %, disk 80/90 %, temperature 70/85 °C, swap 50/80 %). Virtual network interfaces (Docker, hassio, veth…, bridges, tunnels, WireGuard, Tailscale) are left out.
Buttons: Reload configuration, Restart Home Assistant (refused while the configuration is invalid) and, with Home Assistant OS or Supervised, Reboot the host — each confirmed first — next to the shortcuts chosen in Settings → Display.
It reads the System Monitor sensors: see System Monitor for the sensors to enable.
Containers
Home Assistant's own containers, read from the Supervisor: Core, the Supervisor, its plugins (audio, cli, dns, multicast, observer) and every add-on. For each: state and since when, version and update, CPU, memory, network and disk, with the last 24 hours of CPU and memory. The tab also lists the processes System Monitor watches. Monitoring only: nothing is ever started, stopped or restarted.
A container should run when it is Core, the Supervisor, a plugin, or an add-on set to start at boot; it is down when it should run and doesn't. Going down creates a persistent notification, coming back dismisses it. Nothing is notified while Home Assistant starts.
| Setting | Default | Description |
|---|---|---|
| Refresh interval | 60 s | Between two reads of the Supervisor, 10 to 3600 s |
| Notify | on | Notify when a container that should run stops, and when it is back |
| Notify actions | none | Also send with these actions (notify.mobile_app_phone…); a persistent notification is always created |
| Processes that may be stopped | none | System Monitor process sensors allowed to be stopped: shown grey, no problem on the Status tab or the cards |
| Entity | Description |
|---|---|
sensor.system_hub_containers_running_containers |
Containers running. Attributes: total, error, containers (each with slug, name, kind, state, since, version, version_latest, update_available, boot, expected, down, cpu_percent, memory_usage, memory_limit, memory_percent, network_rx, network_tx, blk_read, blk_write) |
sensor.system_hub_containers_stopped_containers |
Containers that should run and don't. Attribute: containers (slug, name, state) |
sensor.system_hub_containers_last_update |
End of the last successful read |
Action system_hub.containers_refresh: reads the containers now.
# Notify when an add-on stays stopped
triggers:
- trigger: numeric_state
entity_id: sensor.system_hub_containers_stopped_containers
above: 0
for: "00:10:00"
actions:
- action: notify.mobile_app_phone
data:
message: >-
Stopped: {{ state_attr('sensor.system_hub_containers_stopped_containers', 'containers')
| map(attribute='name') | join(', ') }}
Database
The Database tab reads the recorder's database (SQLite, MariaDB / MySQL or PostgreSQL) on demand:
- Size against a limit (2 GiB by default, Settings → Database ⚙), its growth over 7 and 30 days, the space a repack would free, the retention and the states written in 24 hours
- Tables, the biggest first, with their rows and size
- Devices that write the most in 24 hours, each unfolding to its entities: tick some to Purge their history or copy the
recorder: exclude:lines - Advised configuration: the integrations that write a lot of states nobody reads, as
entity_globswildcards ready to copy intoconfiguration.yaml, with the states a day it saves - Purge and repack (asked first)
| Entity | Description |
|---|---|
sensor.system_hub_database_database_size |
Size of the database, read every 15 minutes (so the recorder keeps its history). Attribute: engine (sqlite, mysql, postgresql) |
With MySQL 8, sizes can lag up to a day (information_schema_stats_expiry); MariaDB reads them live.
Security
Four sub-tabs, each with its own address:
- Logins: refused logins over 7 days by address (Internet or local, banned or not), with Ignore or Acknowledge; the IP ban and
ip_bans.yaml; exposure (HTTPS, trusted proxies, IP ban, Home Assistant Cloud). Each refused login from the Internet makes a notification (once an hour per address). Bans are tracked by default; turn off Track IP bans to neither record nor show them (refused logins are still recorded) - Accounts: role, 2FA, last activity, sessions; long-lived tokens, the unused ones (90 days by default) flagged, Revoke
- Add-ons & config: add-ons with their protection mode off, full hardware access or host network (Allow one that needs it); passwords, tokens and keys written in clear in the YAML files instead of
!secret(never the value) - Outbound (off by default, Track outbound connections): the hosts Home Assistant contacts, grouped by integration, new hosts flagged until marked Known
Home Assistant keeps no history of refused logins: the module records them from when it is turned on. Settings in Settings → Security ⚙.
How outbound tracking works
Three lookup functions are wrapped (aiohttp's resolver, the event loop's and socket.getaddrinfo) while the option is on, and put back when it is turned off, so nothing is hooked while off. Only new connections are seen, not the add-ons nor the Supervisor. A connection is attributed to the integration whose code asks, else to Home Assistant, else to Unattributed. The hosts seen during the first day count as known. Kept in memory (500 hosts, 7 days), saved at most once an hour; the time spent is shown under the list.
Logs
Home Assistant's log grouped by integration, the most errors first: how many times each message came, when, its source and traceback, by level (errors, warnings, all) and period (1 h, 24 h, since start). Reload an integration, Ignore a message, Clear the log. Only frequent errors count as a problem on the Status tab: from Errors that make a problem (10 by default, Settings → Logs ⚙).
Sentinel
Reloads the integrations whose entities are all unavailable, and power cycles hung devices through their smart plug (formerly Integration Watchdog). The tab lists the unavailable and given-up integrations, with Check now and Try again, the power cycles and the recent reloads.
| Setting | Default | Description |
|---|---|---|
| Check interval | 5 min | Between two checks, 1 to 1440 min |
| Grace period | 15 min | How long every entity of an integration must be unavailable before a reload; nothing is reloaded during this time after a start |
| Grace period per integration | — | One line per integration, domain: minutes (zha: 30) |
| Reloads in a row | 3 | Reloads before giving up, 1 to 10 |
| Ignored entries / integrations | none | Never reloaded |
| Pause entity | none | An input_boolean, switch, binary_sensor or schedule: nothing is reloaded while it is on |
| Notify actions | none | Also send each notification with these actions; a persistent notification is always created |
When is an integration reloaded? When it is loaded or its setup failed, it is not a helper (template, group…), every enabled entity is unavailable for at least the grace period, and Home Assistant has run for at least the grace period. The check is per integration entry, not per device.
Limits: a reload that doesn't help is retried after the grace period, then twice that, and so on up to Reloads in a row (15, 15 then 30 minutes with the defaults). Then Sentinel gives up, notifies, and raises a repair in Settings → Repairs whose Try again starts over. It retries by itself once an entity has been available again for the current delay. The count survives restarts.
Power cycles
For a device that only comes back once its power is cut (a router, a hub, a camera): Settings → Sentinel ⚙ → Add a power cycle.
| Field | Default | Description |
|---|---|---|
| Device | — | The device to restart: all its entities (the plug left out) must be unavailable |
| Smart plug | — | The switch that powers it |
| Unavailable for | 10 min | Before the plug is switched off, 1 to 1440 min |
| Off for | 10 s | Before it is switched on again, 1 to 300 s |
A plug that is off or unavailable is left alone, and is always switched on again (even after a restart). Power cycles follow the same limits as reloads.
Entities, actions and events
| Entity | Description |
|---|---|
sensor.system_hub_sentinel_unavailable_integrations |
Integrations whose entities are all unavailable. Attributes: integrations (domain, title, entry_id, since, reloads, gave_up), ignored, max_reloads, paused |
sensor.system_hub_sentinel_last_reload |
Last reload. Attributes: domain, title, entry_id, success, reloads, history (the last 20 reloads, power cycles and give-ups) |
sensor.system_hub_sentinel_last_check |
End of the last check |
sensor.system_hub_sentinel_reloads_in_24_h |
Reloads of the last 24 hours. Attributes: failed, integrations |
button.system_hub_sentinel_check_now |
Runs a check now |
| Action | Description |
|---|---|
system_hub.watchdog_check |
Runs a check now and waits for the reloads |
system_hub.watchdog_reset |
Starts over for one integration (entry_id): forgets its reloads, deletes its repair and reloads it now |
| Event | Data |
|---|---|
system_hub_integration_reloaded |
entry_id, domain, title, success, unavailable_since, attempt, max_reloads |
system_hub_device_power_cycled |
device_id, name, switch, success, unavailable_since, attempt, max_reloads |
# Log each reload in the logbook
triggers:
- trigger: event
event_type: system_hub_integration_reloaded
actions:
- action: logbook.log
data:
name: System Hub Sentinel
message: >
reloaded {{ trigger.event.data.title }} ({{ trigger.event.data.domain }}),
attempt {{ trigger.event.data.attempt }}/{{ trigger.event.data.max_reloads }}
Automations
Shows what Automation Monitor reports (installed separately): the automations whose last run failed — error, failed step, failures in a row, Trace, Edit, Clear — and the unavailable entities used by automations, scripts and scenes. Refresh rebuilds the list of linked entities. The module has no entities of its own.
| Setting | Description |
|---|---|
| Ignored devices | Their unavailable entities and failed automations are left out |
| Ignored entities | Entity ids or patterns with * and ? (automation.test_*), case-insensitive |
Updates
Every update in one tab (formerly Marketplace Refresh):
- Home Assistant (Core, Supervisor, OS), Add-ons, Devices and services (firmware…) and Marketplace repositories, each with its logo, versions and release notes
- Install per update, Update all for everything (Core last, as it restarts), optionally after a backup, with the progress of each install
- A server-side check of the Marketplace at the interval you choose, with the GitHub requests left
| Setting | Default | Description |
|---|---|---|
| Check interval | 24 h | Between two automatic checks, 1 to 168 h; 0 turns it off |
| Back up before installing updates | off | Create Home Assistant's automatic backup first; nothing is installed if it fails |
| Entity | Description |
|---|---|
sensor.system_hub_updates_status |
idle, running or error. Attributes: done, total, updates, failed, not_checked, error, checking, installing, install_total, backing_up, install_failed, github_connected, rate_limit_remaining, rate_limit_reset |
sensor.system_hub_updates_last_check |
End of the last check. Attributes: scan_interval, next_check |
button.system_hub_updates_check_for_updates |
Starts a check |
| Action | Fields | Description |
|---|---|---|
system_hub.marketplace_check_updates |
wait |
Checks every repository; with wait: true, ends once done and fails if a repository couldn't be checked |
system_hub.marketplace_check_repository |
entity_id |
Checks these repositories only |
system_hub.marketplace_install_updates |
entity_id, wait, backup |
Installs the updates one after the other (all of them by default). The Marketplace warning must have been accepted once |
Event system_hub_marketplace_updates_found: fired when a full check finds updates the previous one didn't. Data: entry_id, count, updates (owner/repo), total.
# Check every night and get notified
triggers:
- trigger: time
at: "04:00:00"
actions:
- action: system_hub.marketplace_check_updates
data:
wait: true
- condition: template
value_template: "{{ state_attr('sensor.system_hub_updates_status', 'updates') | int(0) > 0 }}"
- action: notify.mobile_app_phone
data:
message: "{{ state_attr('sensor.system_hub_updates_status', 'updates') }} Marketplace update(s) available"
| View | Light | Dark |
|---|---|---|
| Check running | ![]() |
![]() |
Backups
Home Assistant's own backups at a glance: the last successful one (orange beyond 3 days by default, red when the last attempt failed), the next one, each location (local, network storage, cloud) with its last copy and errors, the last 30 days and the 10 latest backups. Back up now and Backup settings. The age is set in Settings → Backups ⚙.
Purge
Deletes every night (03:47) the files not modified for 30 days (by default) in the folders you pick, and the sub-folders left empty. The default folder is mcp_backups, where the Home Assistant MCP server keeps a copy of the configuration before each change. Off until you turn it on.
Only folders inside /config can be chosen; the configuration folder itself, hidden folders (.storage, .git…) and Home Assistant's own (custom_components, deps, backups…) are always refused. Choose folders opens a file-explorer picker:
| Light | Dark |
|---|---|
![]() |
![]() |
![]() |
![]() |
| Entity | Description |
|---|---|
sensor.system_hub_purge_last_purge |
Time of the last purge. Attributes: files, bytes, errors, max_age, directories |
button.system_hub_purge_purge_now |
Purges now |
Action system_hub.purge_files: purges now; with dry_run: true, only tells what would be deleted.
action: system_hub.purge_files
data:
dry_run: true
response_variable: result # {"dry_run": true, "max_age": 30, "files": 11, "bytes": 845000, "errors": 0, "directories": [...]}
Versioning
Commits and pushes the configuration to a Git remote (GitHub, Gitea…), with commit messages written by an AI task, and exports the dashboards (formerly Git Sync). One repository or several.
Setup
Make the configuration folder a Git repository with a remote:
cd /config git init -b main git remote add origin [email protected]:<you>/homeassistant-config.gitAdd a
.gitignorethat keeps secrets and runtime files out:secrets.yaml .storage/ .cloud/ .ssh/ *.db* *.log* deps/ tts/ __pycache__/Turn the module on: it asks for the repository (path, remote, branch, SSH key, author) and checks it with Git before saving
Create a deploy key: run
system_hub.git_sync_generate_ssh_keyin Developer tools → Actions, then on GitHub add the public key in Settings → Deploy keys with Allow write access
[!WARNING] Everything that is not ignored is pushed. Keep credentials in
secrets.yaml(!secret) and prefer a private repository.
git and ssh are in the official Home Assistant images. Add more repositories (an ESPHome folder…) with Settings → Versioning ⚙ → Add a repository: each gets its own device and entities.
Settings
| Setting | Default | Description |
|---|---|---|
| AI task entity | the only ai_task entity |
Writes the commit message from the diff; else chore: update configuration (n files) |
| Commit message language | Home Assistant's | Language of the AI messages |
| Automatic commit interval | 60 min | Commit and push when something changed; 0 to disable |
| Status refresh interval | 60 s | How often git status is read |
| Remote check interval | 15 min | How often git fetch runs, to see commits pushed from elsewhere; 0 to disable |
| Pull before push | on | Rebase on the remote's new commits before pushing |
| Commit before updates | off | Snapshot the configuration when an update is installed |
| Allow tracked sensitive files | off | Commit changes of sensitive files Git already tracks |
| Notification action / image URL | none | Sent after each commit |
| Daily dashboard export | on, 08:00 | Export the dashboards every day, to dashboards_export, as JSON, YAML or both |
| Export before each commit | off | Also export right before each commit |
Secret guard: a commit is refused when it includes secrets.yaml, .storage/, .ssh/, keys (*.pem, *.key, id_rsa*), known_devices.yaml, the database or logs. In the diff sent to the AI task, secret values (password, token, api_key…) are replaced with <redacted>.
Repairs: raised when the branch has diverged from the remote, is behind with Pull before push off, or when .gitignore doesn't exclude secrets.yaml and .storage/ (Fix adds the lines).
Entities, actions and events
| Entity | Description |
|---|---|
sensor.system_hub_versioning_status |
clean, dirty, ahead, behind, diverged or error. Attributes: repository, branch, upstream, remote_url, ahead, behind, changed_count, changed_files, last_error, ai_task |
sensor.system_hub_versioning_changed_files |
Number of changed files |
sensor.system_hub_versioning_last_commit |
Time of the HEAD commit. Attributes: message, sha, short_sha |
sensor.system_hub_versioning_last_push |
Time of the last push |
sensor.system_hub_versioning_last_export |
Time of the last dashboard export. Attribute: files |
sensor.system_hub_versioning_branch |
Current branch |
button.system_hub_versioning_commit_and_push |
Commit and push now |
button.system_hub_versioning_export_dashboards |
Export the dashboards now |
Every action takes an optional repository (path or id); without it, commit, pull and export run on every repository.
| Action | Description |
|---|---|
system_hub.git_sync_commit_push |
Commits everything and pushes; message optional (else written by the AI task). Returns committed, pushed, message |
system_hub.git_sync_pull |
Brings in the remote's new commits, without committing. Returns pulled |
system_hub.git_sync_generate_message |
Writes a commit message for the current changes, without committing |
system_hub.git_sync_get_diff |
Returns the changes file by file, without staging anything |
system_hub.git_sync_export_dashboards |
Exports the dashboards now |
system_hub.git_sync_generate_ssh_key |
Creates an SSH key (an existing one is kept) and returns its public key |
action: system_hub.git_sync_commit_push
data:
message: "fix(corridor): lower the night light threshold" # optional
response_variable: result # {"committed": true, "pushed": true, "message": "..."}
Events: system_hub_git_committed (entry_id, message, sha, files) and system_hub_dashboards_exported (entry_id, files).
How a commit works
- Fetches the remote; stops if the branch has diverged, or is behind with Pull before push off
- Checks the changes for sensitive files, on a copy of the Git index
- Stages everything, checks again, has the AI task write the message (first 8000 characters of the diff, secrets hidden) and commits
- Rebases on the remote's new commits if any; on a conflict, the rebase is aborted and nothing is pushed
- Pushes
Commits and exports never run at the same time. An automatic commit refused (sensitive file, diverged branch, conflict) is not retried until something changes; other failures are retried at every interval.
| View | Light | Dark |
|---|---|---|
| View changes | ![]() |
![]() |
| View changes, on a phone | ![]() |
![]() |
Silent devices
The devices of ZHA, Zigbee2MQTT, Z-Wave, Matter, ESPHome, deCONZ and Bluetooth not heard from beyond Silent after (24 h by default, on a battery and on mains) or unavailable, then the weak signals (LQI below 50, RSSI below −80 dBm). Each with its room, when it was last heard, its signal and its battery, Device and Ignore. Settings in Settings → Silent devices ⚙.
Network maps: the Zigbee (ZHA or Zigbee2MQTT), Z-Wave, Matter and Bluetooth networks drawn as an interactive graph — search, zoom, details on hover, silent devices in red on their last link — with a tree by router (for Bluetooth, Who hears whom: the RSSI each scanner hears every device at). A network is read when its view is shown, never stored.
| Network | Light | Dark |
|---|---|---|
| Zigbee | ![]() |
![]() |
| Z-Wave | ![]() |
![]() |
| Matter | ![]() |
![]() |
| Bluetooth | ![]() |
![]() |
How the networks are read
- ZHA:
zha/devices; Zigbee2MQTT: its network map (zigbee2mqtt/bridge/request/networkmap, a scan of a minute or more) - Z-Wave JS:
zwave_js/network_status, then each node's last working route from its statistics; the radio is never interrupted to read neighbour tables - Matter has no neighbour table: each node is shown under its network (Thread, Wi-Fi, Ethernet), a bridge's devices under it
- Bluetooth has no mesh: Home Assistant and its scanners (adapters and proxies), each device under the scanner in use, dotted lines to the others that hear it
Links are coloured by LQI (green ≥ 100, amber 50–99, red < 50) or, on Z-Wave, RSSI (green ≥ −70 dBm, amber −80 to −71, red < −80). A Bluetooth device counts as heard on any advertisement, and silent once Home Assistant no longer counts it present. After a restart, every device counts as heard at the start.
Batteries
Every battery of the house (formerly Battery Monitor): a sensor or binary_sensor with the battery device class. The tab lists them by level, room, battery type or replacement date, with the spare batteries to buy, Export CSV and Notify now.
| View | Light | Dark |
|---|---|---|
| By room | ![]() |
![]() |
| By battery type | ![]() |
![]() |
| By replacement date | ![]() |
![]() |
| Setting | Default | Description |
|---|---|---|
| Low battery threshold | 20 % | A battery is low below this level |
| Low for at least | 24 h | Before it is notified (0: at the next notification) |
| Morning / evening notification | 09:00 / 19:00 | The two daily notifications |
| Notify actions | — | Also send with these actions; a persistent notification is always created |
| Ignored batteries / integrations | mobile_app |
Never monitored |
| Battery types | — | Per battery or per device model; else from Battery Notes |
At each notification time, the batteries low for long enough are listed, the lowest first, with their type:
3 low batteries
• Front door (Entrance): 8 % · CR2032
• Kitchen leak sensor (Kitchen): 17 % · 2× AAA
• Smoke detector (Hallway): low
Forecast: once a day, the drain of each battery is measured on its last 30 days of history (since its last replacement, a rise of 15 points), giving the days left and the replacement date.
| Entity | Description |
|---|---|
sensor.system_hub_battery_low_batteries |
Batteries below the threshold. Attributes: unavailable, due, threshold, duration, batteries (each with entity_id, device_id, name, area, level, icon, low, alert, due, unavailable, below_since, drain_per_day, days_left, replace_by, battery_type) |
sensor.system_hub_batteries_last_notification |
Time of the last notification. Attribute: notified |
sensor.system_hub_batteries_spare_batteries |
Battery types short of spares. Attributes: stock, needed, short |
sensor.system_hub_batteries_next_replacement |
Date the first battery reaches the threshold. Attributes: entity_id, name, level, days_left, forecast_at |
button.system_hub_batteries_notify_now |
Sends every low battery now |
| Action | Description |
|---|---|
system_hub.batteries_notify |
Sends every low battery now (or No low battery). Open to every user |
system_hub.batteries_set_stock |
Sets the spare batteries of a type (battery_type: AA, count: 8); each replacement detected takes its quantity out. Open to every user |
system_hub.batteries_export |
Writes every battery to a CSV file (path, system_hub_batteries.csv by default, inside /config) |
| Event | When | Data |
|---|---|---|
system_hub_battery_low |
A battery goes below the threshold | entry_id, entity_id, device_id, name, level, threshold |
system_hub_battery_replaced |
A battery's level rises by 15 points or more | entry_id, entity_id, device_id, name, level, previous_level |
# Notify as soon as a battery goes low
triggers:
- trigger: event
event_type: system_hub_battery_low
actions:
- action: notify.mobile_app_phone
data:
title: Low battery
message: "{{ trigger.event.data.name }}: {{ trigger.event.data.level }} %"
Cleanup
Lists the entities their integration no longer provides, and the devices left behind by a removed integration, so you can remove or ignore them in bulk (formerly Orphan Entities). Each one comes with what still uses it (automations, scripts, scenes, groups, dashboards), with links.
| Reason | Listed when |
|---|---|
| Integration removed | Its config entry no longer exists |
| Integration not loaded | A YAML platform no longer loaded |
| Not provided | Its integration is loaded but no longer creates it |
| Unavailable | Unavailable for longer than Stale after (24 h) |
| Unknown | Unknown for that long (with Include unknown entities) |
The registry is scanned every 15 minutes and a few seconds after it changes, but not during the 10 minutes after a start. Every removal checks again first: an entity no longer orphaned is kept. The history stays in the database.
| View | Light | Dark |
|---|---|---|
| Remove, asked first | ![]() |
![]() |
| Entity | Description |
|---|---|
sensor.system_hub_cleanup_orphaned_entities |
Orphaned entities. Attributes: entities (entity_id, name, platform, reason, since, entry_title, device, disabled, used_by), devices, counts, removed, truncated, devices_truncated, next_scan (at most 250 of each) |
sensor.system_hub_cleanup_last_scan |
End of the last scan |
button.system_hub_cleanup_scan_now |
Scans now |
| Action | Description |
|---|---|
system_hub.orphans_scan |
Scans now |
system_hub.orphans_remove |
Removes entities listed by the last scan (1000 at most). Returns removed and skipped |
system_hub.orphans_remove_devices |
Removes orphan devices with their entities (all of them by default) |
system_hub.orphans_ignore |
Ignores entities or devices |
Events: system_hub_orphans_removed (entities) and system_hub_orphans_devices_removed (devices).
Lovelace cards
Two card types, custom:system-hub-card and custom:system-hub-mini-card, with module: choosing what they show. Nothing to install: System Hub adds them to the dashboard resources by itself (only the cards of the modules turned on), and removes them with the integration. In the visual editor, pick the module first, then its options.
module: |
Card | Mini card | Formerly |
|---|---|---|---|
status (default) |
Status | ✓ | — |
system |
System Monitor | ✓ | system-monitor-card |
security |
Security | ✓ | — |
watchdog |
Sentinel | ✓ | integration-watchdog-card |
marketplace |
Updates | — | marketplace-refresh-card |
batteries |
Batteries | ✓ | battery-monitor-card |
git_sync |
Versioning | ✓ | git-sync-card |
automations |
Automations | ✓ | automation-monitor-card |
orphans |
Cleanup | ✓ | orphan-entities-card |
type: custom:system-hub-card
module: batteries
Options common to the cards (every option is in the visual editor, except those marked YAML only):
| Option | Default | Description |
|---|---|---|
show_title |
true |
Show the title in the header |
show_subtitle |
true |
Show the subtitle under the title |
illustration |
true |
Illustrated 90 px header, whose scene follows the status; false for the classic header |
illustration_theme |
auto |
day or night picture; auto follows the Home Assistant theme |
zoom |
true |
Mini cards: the detail button (top right) that shows the full card in place; a click outside brings the compact view back. A mini card takes every option of the full card for that view |
title |
the module's name | Card title (not on Status) |
language |
Home Assistant's | Force a language (en, fr, de…) (not on Status) |
hide_when_ok |
false |
Hide the card while all is fine (always shown while editing) — Security, Sentinel, Updates, Batteries and Automations |
Only the cards? Add System Hub with every module turned off: nothing is monitored, and the Status, System Monitor and Automations cards still work. The sidebar item can be hidden in Profile → Change the order and hide items from the sidebar.
Status
The Status tab at a glance: the points to check, the score, then each area by group; a click on an area opens its tab. The mini card shows the header, the first areas to look at and a dot per area. Administrators only, like the panel.
type: custom:system-hub-card
groups: [system, security] # optional: only these groups (system, security, reliability, maintenance, devices)
hide_ok: true # optional: hide the areas that are fine
system-hub-card |
system-hub-mini-card |
Mini card, zoomed in |
|---|---|---|
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
System Monitor
The machine running Home Assistant at a glance — CPU, RAM, disk and temperature gauges with their last 24 hours, network, storage, backups, processes, Core and OS versions — from the core System Monitor integration. Its entities are found by themselves, in any language. A click on a value opens its history.
Most System Monitor sensors are disabled by default: enable those you want on the System Monitor device.
| Section | Sensors to enable |
|---|---|
| System | Processor use, Memory usage, Disk usage, Processor temperature, Last boot, Load, IPv4 address |
| Network | Network throughput in / out, Network in / out |
| Storage | Disk use + Disk free per mount point, Swap use + Swap free |
| Processes | Process binary sensors (set in the integration's options) |
For the database size, add the File Size integration on /config/home-assistant_v2.db (with /config in homeassistant: allowlist_external_dirs). An external database is followed by the Database module instead.
type: custom:system-hub-card
module: system
show_actions: true # Reload, Restart and Reboot buttons (administrators only)
gauge_style: bar # lines instead of rings
| Option | Default | Description |
|---|---|---|
show_system / show_network / show_storage / show_backups / show_processes |
true |
Sections shown |
show_disk / show_uptime / show_load / show_ip |
true |
Lines of the System section |
show_history |
true |
24 h curve behind the gauges and network rates |
show_actions |
false |
Reload configuration, Restart and Reboot the host, each confirmed first, with round shortcuts before them |
buttons |
[reload, restart, reboot] |
YAML only: the buttons shown with show_actions |
shortcuts |
[file_editor, marketplace, settings] |
YAML only: also integrations, logs, developer_tools |
tap_action |
more-info |
none: a click opens nothing |
interface |
all physical interfaces | Network interface to show (eth0…) |
gauge_style |
ring |
bar: lines with bars, like the mini card |
cpu_warning / cpu_critical |
70 / 90 |
% from which the gauge turns orange / red |
ram_warning / ram_critical |
80 / 95 |
% |
disk_warning / disk_critical |
80 / 90 |
% |
temp_warning / temp_critical |
75 / 90 |
°C, whatever the sensor's unit |
swap_warning / swap_critical |
50 / 80 |
% |
backup_warning / backup_critical |
2 / 7 |
Days since the last automatic backup |
ok_color / warning_color / critical_color |
blue / theme warning / theme error | A colour name (green…), [r, g, b] or CSS colour |
entities |
— | YAML only: sensors of your choice, see below |
entities sets other sensors, in place of or next to System Monitor's — a NAS disk, a temperature from another integration:
entities:
processor_temperature: sensor.cpu_temperature # also processor_use, memory_use_percent, swap_use_percent, load_1m, last_boot…
disks:
/mnt/hdd1: sensor.nas_volume_1_usage # a % sensor, or use / free / use_percent
interfaces:
lan:
in: sensor.router_download # in / out rates, ipv4
out: sensor.router_upload
| Light | Dark |
|---|---|
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Security card
What needs a look in the Security module, the worst first: to fix in red (refused logins from the Internet, unprotected add-ons), to check in amber (no 2FA, new hosts, unused tokens, credentials in clear, no HTTPS). Each row opens its sub-tab. Details for administrators only.
| Option | Default | Description |
|---|---|---|
max_items |
6 |
Points shown, 1 to 20; the others under +N more |
show_ok |
true |
The line telling what is in order |
| Points to look at | Everything in order | Mini card, zoomed in | |
|---|---|---|---|
| Card | ![]() |
![]() |
|
| Card, dark | ![]() |
![]() |
|
| Mini card | ![]() |
![]() |
![]() |
| Mini card, dark | ![]() |
![]() |
![]() |
Sentinel card
The status and Check now, a summary, the unavailable integrations with their reloads (1/3 reloads, Given up with Try again) and the recent reloads. For an administrator, a row opens the integration's page. The mini card shows a chip per unavailable integration.
| Option | Default | Description |
|---|---|---|
entity |
found automatically | The Unavailable integrations sensor |
show_stats / show_unavailable / show_history |
true |
Summary, unavailable integrations, recent reloads |
history_count |
5 |
Recent reloads shown, 1 to 20 |
check_button |
true |
Check now button (any user who sees the card can run a check) |
| Unavailable integrations | Everything available | Mini card, zoomed in | |
|---|---|---|---|
| Card | ![]() |
![]() |
|
| Card, dark | ![]() |
![]() |
|
| Mini card | ![]() |
![]() |
![]() |
| Mini card, dark | ![]() |
![]() |
![]() |
Updates card
The status, last and next check, Check for updates, a progress bar while checking, the updates available (a row opens the update), Update all (administrators only), and what couldn't be installed or checked.
| Option | Default | Description |
|---|---|---|
entity |
found automatically | The Updates Status sensor |
show_next_check |
true |
next in … in the subtitle |
show_updates |
true |
Updates available |
show_system_updates |
false |
Also list Home Assistant, add-ons and firmware updates |
show_failed |
true |
Repositories that couldn't be checked |
check_button / install_button |
true |
Check for updates / Update all buttons |
| Updates available | Checking | Installing | Up to date |
|---|---|---|---|
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
show_system_updates: true |
Dark |
|---|---|
![]() |
![]() |
Batteries card
Every battery with its level, the Notify now bell and a full screen view by room, by battery type or by replacement date, with what to buy and Export CSV. A battery due for replacement blinks. The mini card shows only the batteries needing attention.
| Option | Default | Description |
|---|---|---|
entity |
found automatically | The Low batteries sensor |
columns |
1 |
Battery columns, 1 to 3 |
only_low |
false |
Only the low or unavailable batteries |
notify_button |
true |
Bell button that sends the notification now |
popup |
true |
Full screen button |
expanded |
false |
Lay the full screen view out in the card itself |
csv_button |
true |
Export CSV button |
battery_models / battery_types |
— | Battery types for this card only, by device model (Hue dimmer switch: CR2450) or by entity (sensor.remote_battery: 2× AAA) |
| Light | Dark |
|---|---|
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Full screen view
| View | Light | Dark |
|---|---|---|
| By replacement date | ![]() |
![]() |
| By room | ![]() |
![]() |
| By battery type | ![]() |
![]() |
| Phone, by room | ![]() |
![]() |
| Phone, by battery type | ![]() |
![]() |
Versioning card
The status, branch and remote, the last commit, the changed files, the last push and export. Commit & push opens a message box (the ✨ button writes the message with the AI task), Pull shows when the remote is ahead, and View changes opens a full-screen diff viewer, like an editor's source control view. The actions are for administrators only.
| Option | Default | Description |
|---|---|---|
entity |
found automatically | The Versioning Status sensor (the repository shown) |
show_files |
true |
List of the changed files |
show_export |
true |
Last export and Export dashboards |
| Changes pending | Up to date | Push failed | Commit & push |
|---|---|---|---|
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
| Diff viewer | Phone |
|---|---|
![]() |
![]() |
![]() |
![]() |
Automations card
The failed automations (error, failed step, Trace, Edit, Clear) and the unavailable linked entities with what uses them, plus Refresh. Works with or without the Automations module, as long as Automation Monitor is installed.
| Option | Default | Description |
|---|---|---|
show_failed / show_linked |
true |
Failed automations / unavailable linked entities |
expand_failed / expand_linked |
false |
Lists unfolded when the card loads |
show_details |
true |
Error message of each failed automation |
show_controls |
true |
Clear and Clear all buttons (administrators only) |
max_items |
5 |
Items per list before Show more |
exclude_devices / exclude_entities |
— | Devices and entities to ignore (patterns with * and ?) |
failed_entity / linked_entity |
found automatically | Automation Monitor's sensors |
| Light | Dark | |
|---|---|---|
| Lists folded | ![]() |
![]() |
| Lists unfolded | ![]() |
![]() |
| All good | ![]() |
![]() |
| Mini card | ![]() |
![]() |
| Mini card, all good | ![]() |
![]() |
| Mini card, zoomed in | ![]() |
![]() |
Cleanup card
A counter per reason (a click filters on it), the orphaned entities with a search and what uses each, ticked then Removed or Ignored once confirmed, and the orphan devices.
| Light | Dark | |
|---|---|---|
| Card | ![]() |
![]() |
| Two entities selected | ![]() |
![]() |
| Used by an automation | ![]() |
![]() |
| Filtered on a reason | ![]() |
![]() |
| No orphan | ![]() |
![]() |
| Remove, confirmed | ![]() |
![]() |
| Orphan devices | ![]() |
![]() |
| Mini card | ![]() |
![]() |
| Mini card, no orphan | ![]() |
![]() |
| Mini card, zoomed in | ![]() |
![]() |
Migrating
System Hub replaces Integration Watchdog, Marketplace Refresh, Battery Monitor, Git Sync, Orphan Entities and the System Monitor and Automation Monitor cards. These repositories are archived:
- Set up System Hub and turn on the matching modules: each one takes over the settings of the integration it replaces (for Batteries, the types set in the cards and the spare batteries come with Settings → Batteries ⚙ → Import from Battery Monitor)
- Remove the old integrations and their card resources, so nothing runs twice — a repair reminds you while one is still set up
- Rename the actions, events and entities in your automations (table below)
The cards are moved by themselves: at every start, System Hub rewrites the old card types (and those of System Hub 1.x) in the dashboards edited from the UI, their options kept, after saving them in .storage/system_hub.dashboards_backup. A YAML dashboard isn't rewritten: a repair lists its cards to change.
| Before | System Hub |
|---|---|
integration_watchdog.check / .reset |
system_hub.watchdog_check / .watchdog_reset |
integration_watchdog_reloaded / _power_cycled events |
system_hub_integration_reloaded / system_hub_device_power_cycled |
sensor.integration_watchdog_*, button.integration_watchdog_check_now |
sensor.system_hub_sentinel_*, button.system_hub_sentinel_check_now |
marketplace_refresh.check_updates / .check_repository / .install_updates |
system_hub.marketplace_check_updates / .marketplace_check_repository / .marketplace_install_updates |
marketplace_refresh_updates_found event |
system_hub_marketplace_updates_found |
sensor.marketplace_refresh_*, button.marketplace_refresh_check_for_updates |
sensor.system_hub_updates_*, button.system_hub_updates_check_for_updates |
battery_monitor.notify / .set_stock / .export |
system_hub.batteries_notify / .batteries_set_stock / .batteries_export |
battery_monitor_low / _replaced events |
system_hub_battery_low / system_hub_battery_replaced |
sensor.battery_monitor_*, button.battery_monitor_notify_now |
sensor.system_hub_batteries_*, button.system_hub_batteries_notify_now |
git_sync.commit_push / .pull / .generate_message / .get_diff / .export_dashboards / .generate_ssh_key |
system_hub.git_sync_commit_push / .git_sync_pull / … (repository instead of config_entry_id) |
git_sync_committed / git_sync_exported events |
system_hub_git_committed / system_hub_dashboards_exported |
sensor.git_sync_<repo>_*, button.git_sync_<repo>_* |
sensor.system_hub_versioning_*, button.system_hub_versioning_* |
orphan_entities.scan / .remove / .remove_devices / .ignore |
system_hub.orphans_scan / .orphans_remove / .orphans_remove_devices / .orphans_ignore |
orphan_entities_removed / _devices_removed events |
system_hub_orphans_removed / system_hub_orphans_devices_removed |
sensor.orphan_entities_*, button.orphan_entities_scan_now |
sensor.system_hub_cleanup_*, button.system_hub_cleanup_scan_now |
Development
npm install --no-save --no-package-lock [email protected]
node scripts/build-frontend.mjs # assembles src/ into custom_components/system_hub/frontend/
pip install -r requirements_test.txt && pytest # integration tests
node --test test/*.test.mjs # panel and card tests
The panel and the cards are plain JavaScript served by the integration. Their source is split into ES modules under src/system-hub-panel/ and src/<card>/ (entry index.js, translations one file per language in i18n/); scripts/build-frontend.mjs assembles each into frontend/system-hub-panel.js or frontend/cards/<card>.js, which is not committed (the release builds it). The screenshots are rendered with mock data by scripts/screenshots*.py.
Translations
English, French, German, Spanish, Italian, Dutch, Portuguese (Portugal and Brazil), Polish, Romanian, Danish, Swedish, Bulgarian, Russian, Ukrainian, Hungarian, Slovak, Czech, Slovenian, Latvian, Greek and Serbian (Cyrillic and Latin). The language follows Home Assistant's; language: forces it on a card.
License
Support
If you find this project useful, you can support its development:
Explorer des projets similaires
Chargement…






































































































































































































































































