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:
@@ -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
|
||||
@@ -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.
|
||||
Reference in New Issue
Block a user