Fix lovelace url_path: cubeops -> cube-ops

HA requires a dashboard's url_path to contain a hyphen, and a key that
fails that check invalidates the entire `lovelace:` block rather than
just its own entry. `cubeops:` was added in 0c35647, so `ha core check`
has been failing since then and all four YAML dashboards -- Voice Alarms,
Family Hub, At-a-Glance and CubeOps -- were refusing to load.

Rename the key to `cube-ops`, and rename the two files alongside it so
they match, which is the convention the other three already follow
(voice-alarms -> voice-alarms.yaml).

This changes the kiosk URL to https://home.vault983.com/cube-ops. Any
wall display still pointed at /cubeops needs updating.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
root
2026-07-27 11:41:17 -04:00
parent 92b68ca21a
commit 9e061b7078
4 changed files with 11 additions and 5 deletions
@@ -2,4 +2,4 @@ mode: yaml
title: CubeOps
icon: mdi:alarm-panel
show_in_sidebar: true
filename: dashboards/views/cubeops-dashboard.yaml
filename: dashboards/views/cube-ops-dashboard.yaml
+5 -1
View File
@@ -1,4 +1,8 @@
voice-alarms: !include voice-alarms.yaml
family-hub: !include family-hub.yaml
at-a-glance: !include at-a-glance.yaml
cubeops: !include cubeops.yaml
# Each key is the dashboard's url_path, and HA requires it to contain a hyphen
# (see homeassistant/components/lovelace: url_path validation). A hyphen-less
# key fails validation for the whole `lovelace:` block, not just its own entry,
# which takes every dashboard here down with it.
cube-ops: !include cube-ops.yaml
@@ -1,10 +1,12 @@
# CubeOps — Cubecraft Production workboard
#
# Registered as the `cubeops` dashboard in dashboards/dashboards.yaml (mode:
# Registered as the `cube-ops` dashboard in dashboards/dashboards.yaml (mode:
# yaml), so this file is the source of truth. Do not edit it through HA's raw
# configuration editor — that writes to storage and cannot come back to git.
#
# Kiosk URL: https://home.vault983.com/cubeops
# Kiosk URL: https://home.vault983.com/cube-ops
# (Renamed from /cubeops — HA rejects a url_path with no hyphen. Any wall
# display still pointed at the old URL needs updating.)
#
# The card polls every 30 seconds, so a display left open stays current and
# picks back up when a kiosk rotation returns to it.
+1 -1
View File
@@ -19,7 +19,7 @@
# taking the whole themes include down.)
#
# Hiding the sidebar as well needs the kiosk-mode frontend plugin (HACS), which
# is not currently installed — see dashboards/views/cubeops-dashboard.yaml.
# is not currently installed — see dashboards/views/cube-ops-dashboard.yaml.
cubecraft:
# ─────────────────────────────────────────────────────────────────────────