Karta Planowania Tygodnia
Strona Autora:
https://github.com/FamousWolf/week-planner-card
Forum HA: https://community.home-assistant.io/t/family-calendar/703986
Instalacja HACS:
Dodanie repozytorium https://github.com/FamousWolf/week-planner-card
Konfiguracja Panel (1 karta)
Kod Karty:
type: custom:bootstrap-grid-card
class: container-fluid g-0
locale: pl
noCardBackground: true
cards:
- type: row
class: row
cards:
- type: custom:digital-clock
class: col-xl-9 col-lg-7 col-xs-12
timeFormat: HH:mm:ss
dateFormat: cccc d LLLL y
card_mod:
style: |
ha-card {
text-align: left !important;
background-color: transparent !important;
border: none !important;
padding-left: 15px !important;
}
.first-line {
font-size: 500% !important;
font-weight: normal;
}
.second-line {
font-size: 200% !important;
font-weight: normal;
}
- type: weather-forecast
class: col-xl-3 col-lg-5 col-xs-12
entity: weather.home_daily
forecast_type: daily
card_mod:
style: |
ha-card {
background-color: rgba(0, 0, 0, .75) !important;
border: none !important;
margin-top: 15px;
margin-right: 15px;
}
- type: row
class: row
cards:
- type: custom:week-planner-card
class: col-12
calendars:
- entity: calendar.gp2023
color: '#e6c229'
- entity: calendar.gp2023
color: '#1a8fe3'
- entity: calendar.gp2023
color: '#d11149'
days: 14
noCardBackground: true
eventBackground: rgba(0, 0, 0, .75)
card_mod:
style: |
ha-card {
margin-top: 50px;
}
Dla tej konfiguracji karty wymagany jest: custom:bootstrap-grid-card
z HACS.