Files
Home-Assistant/dashboards/views/voice-alarms-dashboard.yaml
T

178 lines
6.8 KiB
YAML
Raw Normal View History

# Voice Alarms — satellite control panel
#
# Styled with the CubeCraft Creations display system; see
# dashboards/views/at-a-glance-dashboard.yaml for the motif notes and
# themes/cubecraft.yaml for the tokens.
#
# This one is a control panel rather than a glanceable board, so the per-tile
# left rule is dropped — the entity rows already carry their own structure and
# a rule on every card would just add noise. It keeps the gradient title bar
# and the section labels.
#
# Note that the theme collapses the HA toolbar (header-height: 0). This
# dashboard is reached by URL rather than the sidebar (show_in_sidebar: false
# in dashboards/voice-alarms.yaml), so navigate away via the sidebar.
2026-06-28 14:27:20 -04:00
title: Voice Alarms
theme: cubecraft
2026-06-28 14:27:20 -04:00
views:
- title: Voice Alarms
path: voice-alarms
icon: mdi:alarm-panel
theme: cubecraft
2026-06-28 14:27:20 -04:00
type: panel
cards:
- type: vertical-stack
cards:
# ── Brand title bar ──
2026-06-28 14:27:20 -04:00
- type: markdown
content: |
# Voice Alarms
## Jarvis & ReSpeaker satellites
card_mod:
style: |
ha-card {
background: var(--cc-gradient);
color: #fff;
border: none;
border-radius: var(--cc-radius-brand);
box-shadow: var(--cc-shadow-brand);
padding: 6px 12px;
}
ha-card h1 {
margin: 0;
font-size: 1.75rem;
font-weight: 800;
letter-spacing: -0.01em;
color: #fff;
}
ha-card h2 {
margin: 2px 0 0 0;
font-size: 1rem;
font-weight: 600;
letter-spacing: 0.02em;
opacity: 0.85;
color: #fff;
}
2026-06-28 14:27:20 -04:00
- type: markdown
content: >
These alarms are managed by Home Assistant and announced on the
selected Jarvis and ReSpeaker satellites.
card_mod:
style: |
ha-card {
background: none;
border: none;
box-shadow: none;
}
ha-card p {
margin: 0;
font-size: 0.9375rem;
line-height: 1.5;
color: var(--cc-text-muted, var(--secondary-text-color));
}
- type: heading
heading: Satellites
heading_style: title
icon: mdi:speaker-message
card_mod:
style: |
ha-card {
background: none;
border: none;
box-shadow: none;
padding: 0;
margin: 4px 0 -4px 0;
}
ha-card .heading,
ha-card .content p,
ha-card p {
text-transform: uppercase;
letter-spacing: 0.05em;
font-weight: 700;
font-size: 0.9375rem;
color: var(--cc-text-muted, var(--secondary-text-color));
}
ha-card ha-icon,
ha-card ha-svg-icon {
color: var(--cc-accent, var(--primary-color));
}
2026-06-28 14:27:20 -04:00
- type: grid
columns: 2
square: false
cards:
# Card titles take the production card's column-header treatment:
# uppercase, 700, .05em tracking, muted. First use defines the
# anchor the other three alias.
2026-06-28 14:27:20 -04:00
- type: entities
title: Office Jarvis
show_header_toggle: false
entities:
- entity: assist_satellite.voice_assistant_1_assist_satellite
name: Satellite
- entity: input_boolean.voice_alarm_office_jarvis_enabled
name: Alarm enabled
- entity: input_datetime.voice_alarm_office_jarvis_time
name: Alarm time
- entity: script.test_voice_alarm_office_jarvis
name: Test alarm
card_mod: &cc_panel
style: |
ha-card {
border-radius: var(--cc-radius-brand);
box-shadow: var(--cc-shadow-md);
}
ha-card .card-header,
ha-card h1.card-header {
text-transform: uppercase;
letter-spacing: 0.05em;
font-weight: 700;
font-size: 0.9375rem;
color: var(--cc-text-muted, var(--secondary-text-color));
padding-bottom: 4px;
}
2026-06-28 14:27:20 -04:00
- type: entities
title: ReSpeaker Family Room
show_header_toggle: false
entities:
- entity: assist_satellite.respeaker_lite_satellite_assist_satellite
name: Satellite
- entity: input_boolean.voice_alarm_respeaker_family_room_enabled
name: Alarm enabled
- entity: input_datetime.voice_alarm_respeaker_family_room_time
name: Alarm time
- entity: script.test_voice_alarm_respeaker_family_room
name: Test alarm
card_mod: *cc_panel
2026-06-28 14:27:20 -04:00
- type: entities
title: ReSpeaker Living Room
show_header_toggle: false
entities:
- entity: assist_satellite.respeaker_satellite_living_room_assist_satellite
name: Satellite
- entity: input_boolean.voice_alarm_respeaker_living_room_enabled
name: Alarm enabled
- entity: input_datetime.voice_alarm_respeaker_living_room_time
name: Alarm time
- entity: script.test_voice_alarm_respeaker_living_room
name: Test alarm
card_mod: *cc_panel
2026-06-28 14:27:20 -04:00
- type: entities
title: ReSpeaker Master Bedroom
show_header_toggle: false
entities:
- entity: assist_satellite.respeaker_satellite_master_bedroom_assist_satellite
name: Satellite
- entity: input_boolean.voice_alarm_respeaker_master_bedroom_enabled
name: Alarm enabled
- entity: input_datetime.voice_alarm_respeaker_master_bedroom_time
name: Alarm time
- entity: script.test_voice_alarm_respeaker_master_bedroom
name: Test alarm
card_mod: *cc_panel