144 lines
3.5 KiB
YAML
144 lines
3.5 KiB
YAML
title: Kiosk Dashboard
|
|
path: dashboard-kiosk
|
|
icon: mdi:view-dashboard
|
|
type: custom:grid-layout
|
|
layout:
|
|
grid-template-columns: 100%
|
|
grid-template-rows: auto
|
|
grid-gap: 16px
|
|
cards:
|
|
# Large Clock and Date Header
|
|
- type: custom:mushroom-title-card
|
|
title: Kiosk Dashboard
|
|
subtitle: "{{ now().strftime('%A, %B %d, %Y') }}"
|
|
style: |
|
|
ha-card {
|
|
text-align: center;
|
|
padding: 20px;
|
|
font-size: 2em;
|
|
}
|
|
|
|
# Current Weather - Large Display
|
|
- type: weather-forecast
|
|
entity: weather.forecast_home
|
|
name: Current Weather
|
|
show_forecast: true
|
|
forecast_type: daily
|
|
style: |
|
|
ha-card {
|
|
font-size: 1.5em;
|
|
padding: 20px;
|
|
}
|
|
|
|
# Sun Times
|
|
- type: entities
|
|
title: Sun Information
|
|
entities:
|
|
- entity: sun.sun
|
|
name: Sun Position
|
|
- entity: sensor.sun_next_rising
|
|
name: Sunrise
|
|
- entity: sensor.sun_next_setting
|
|
name: Sunset
|
|
- entity: sensor.sun_next_dawn
|
|
name: Dawn
|
|
- entity: sensor.sun_next_dusk
|
|
name: Dusk
|
|
style: |
|
|
ha-card {
|
|
font-size: 1.2em;
|
|
}
|
|
|
|
# Public Transport - Next Departures
|
|
- type: entities
|
|
title: Public Transport
|
|
entities:
|
|
- entity: sensor.roslagsbanan_line_28_to_stockholms_ostra
|
|
name: To Stockholm Östra
|
|
- entity: sensor.roslagsbanan_line_28_to_akersberga
|
|
name: To Åkersberga
|
|
- entity: sensor.sl_departure_sensor_9636_bravalavagen
|
|
name: SL Departure
|
|
- entity: sensor.next_departure_time
|
|
name: Next Departure
|
|
style: |
|
|
ha-card {
|
|
font-size: 1.2em;
|
|
}
|
|
|
|
# Camera Status
|
|
- type: entities
|
|
title: Camera Status
|
|
entities:
|
|
- entity: binary_sensor.backyard_motion
|
|
name: Backyard Motion
|
|
- entity: binary_sensor.frontdoor_motion
|
|
name: Front Door Motion
|
|
- entity: binary_sensor.driveway_motion
|
|
name: Driveway Motion
|
|
- entity: binary_sensor.roofcam_motion
|
|
name: Roof Camera Motion
|
|
style: |
|
|
ha-card {
|
|
font-size: 1.2em;
|
|
}
|
|
|
|
# Occupancy Summary
|
|
- type: entities
|
|
title: Occupancy Summary
|
|
entities:
|
|
- entity: sensor.backyard_person_count
|
|
name: Backyard People
|
|
- entity: sensor.frontdoor_person_count
|
|
name: Front Door People
|
|
- entity: sensor.driveway_person_count
|
|
name: Driveway People
|
|
- entity: sensor.roofcam_person_count
|
|
name: Roof Camera People
|
|
style: |
|
|
ha-card {
|
|
font-size: 1.2em;
|
|
}
|
|
|
|
# System Status
|
|
- type: entities
|
|
title: System Status
|
|
entities:
|
|
- entity: sensor.xe75_download_speed
|
|
name: Download Speed
|
|
- entity: sensor.xe75_upload_speed
|
|
name: Upload Speed
|
|
- entity: sensor.external_ip
|
|
name: External IP
|
|
- entity: binary_sensor.xe75_wan_status
|
|
name: WAN Status
|
|
style: |
|
|
ha-card {
|
|
font-size: 1.2em;
|
|
}
|
|
|
|
# RSS Feed Card (Fox News) - Will need RSS integration
|
|
- type: custom:rss-feed-card
|
|
title: Fox News Breaking
|
|
entity: sensor.fox_news_breaking
|
|
max_items: 5
|
|
style: |
|
|
ha-card {
|
|
font-size: 1.2em;
|
|
padding: 20px;
|
|
}
|
|
|
|
# Auto-scroll container
|
|
- type: custom:vertical-stack
|
|
cards: []
|
|
style: |
|
|
ha-card {
|
|
height: 200vh;
|
|
overflow-y: auto;
|
|
animation: scroll 60s linear infinite;
|
|
}
|
|
@keyframes scroll {
|
|
0% { transform: translateY(0); }
|
|
100% { transform: translateY(-50%); }
|
|
}
|