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:
@@ -0,0 +1,48 @@
|
||||
# CubeOps — Cubecraft Production workboard
|
||||
#
|
||||
# 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/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.
|
||||
#
|
||||
# The card ships with the cubecraft_production integration (installed via HACS)
|
||||
# and registers its own Lovelace resource, so there is nothing to add under
|
||||
# Settings > Dashboards > Resources.
|
||||
|
||||
# kiosk-mode plugin (HACS > Frontend). NOT currently installed — there is no
|
||||
# lovelace-kiosk-mode under www/community — so this block is inert today.
|
||||
# `theme: cubecraft` below already collapses the header via header-height, so
|
||||
# installing the plugin now only buys you hide_sidebar.
|
||||
kiosk_mode:
|
||||
hide_header: true
|
||||
hide_sidebar: true
|
||||
|
||||
# The CubeCraft display system. The card reads HA's theme variables for its
|
||||
# surfaces, text and borders (see the `--cc-surface` fallbacks in
|
||||
# cubecraft-production-card.js), so setting this makes the board and the rest
|
||||
# of the dashboards land on exactly the same ramp instead of the card
|
||||
# improvising against HA's defaults.
|
||||
theme: cubecraft
|
||||
|
||||
views:
|
||||
- title: Production
|
||||
# Panel mode gives the card the whole viewport with no dashboard padding.
|
||||
type: panel
|
||||
cards:
|
||||
- type: custom:cubecraft-production-card
|
||||
title: Cubecraft Production
|
||||
# Larger type and spacing for reading at a distance; drops the refresh
|
||||
# button, per-order history and links, which nobody clicks on a wall.
|
||||
kiosk: true
|
||||
# Shipping addresses are needed for packing. Set false if the screen is
|
||||
# visible to customers.
|
||||
show_pii: true
|
||||
# All six stages fit across 1920px, so this is optional here; it
|
||||
# reclaims the Done column on a smaller or portrait screen.
|
||||
hide_done: true
|
||||
Reference in New Issue
Block a user