3 Commits

Author SHA1 Message Date
58d97c4a0c Switch calendar cards on main dashboard
From Atomic Calendar Revive to Calendar Card Pro
2025-05-09 01:43:50 -04:00
9efe2d9810 Remove icon styling from mobile dashboard 2025-05-08 22:19:15 -04:00
2450205623 Improve mobile calendar card, reorder cameras above calendar 2025-05-08 21:48:35 -04:00
2 changed files with 68 additions and 330 deletions

View File

@ -342,48 +342,52 @@ views:
heading: Family Calendar heading: Family Calendar
heading_style: title heading_style: title
icon: mdi:calendar icon: mdi:calendar
- type: custom:atomic-calendar-revive - entities:
enableModeChange: true - entity: calendar.family
firstDayOfWeek: 1 label: mdi:human-male-female-child
maxDaysToShow: 7 color: green
refreshInterval: 15 accent_color: green
entities: - entity: calendar.kallen_school_days
- calendar.family label: mdi:school
- calendar.kallen_school_days color: orange
- calendar.tony_s_twitch_schedule accent_color: orange
- entity: calendar.tony_s_twitch_schedule
label: mdi:twitch
color: purple
accent_color: purple
- calendar.kallen_early_release - calendar.kallen_early_release
- calendar.tm24fan8_gmail_com - calendar.tm24fan8_gmail_com
- calendar.irishpirate1988_gmail_com - calendar.irishpirate1988_gmail_com
- calendar.vacation - calendar.vacation
showLoader: true days_to_show: 5
hideFinishedEvents: true week_separator_width: 1px
showRelativeTime: false month_separator_width: 1px
showDate: true today_indicator: dot
sortByStartTime: true weekend_weekday_color: cyan
showLocation: true weekend_day_color: cyan
hideDuplicates: false weekend_month_color: cyan
noEventText: Nothing scheduled for today! today_weekday_color: ''
showCurrentEventLine: false today_day_color: ''
showMonth: false today_month_color: ''
showProgressBar: true show_countdown: true
showWeekDay: true show_progress_bar: true
disableEventLink: false remove_location_country: true
showNoEventsForToday: true weather:
showEventIcon: false position: date
showFullDayProgress: false date:
showLastCalendarWeek: false show_conditions: true
disableCalEventLink: false show_high_temp: true
disableCalLocationLink: false show_low_temp: false
showTimeRemaining: true icon_size: 14px
showAllDayEvents: true font_size: 12px
hoursOnSameLine: false color: var(--primary-text-color)
showMultiDayEventParts: false event:
showMultiDay: false show_conditions: true
showDescription: false show_temp: true
disableLocationLink: false icon_size: 14px
showCalendarName: false font_size: 12px
showAllDayHours: true color: var(--primary-text-color)
disableCalLink: false type: custom:calendar-card-pro
- type: grid - type: grid
cards: cards:
- type: heading - type: heading

View File

@ -34,20 +34,6 @@ streamline_templates:
background-color: ${state === 'on' ? 'var(--error-color)' : 'var(--bubble-main-background-color)'} !important; background-color: ${state === 'on' ? 'var(--error-color)' : 'var(--bubble-main-background-color)'} !important;
transition: background-color 1s !important; transition: background-color 1s !important;
} }
.bubble-icon-container {
background: ${state === 'on' ? 'var(--error-color)' : 'var(--card-background-color)'} !important;
}
.bubble-icon-container::after {
opacity: ${state === 'on' ? 0.3 : 0} !important;
transition: all 1s !important;
}
.bubble-icon {
display: flex !important;
opacity: 0.5 !important;
}
.is-on .bubble-icon {
opacity: 1 !important;
}
show_state: false show_state: false
columns: '[[columns]]' columns: '[[columns]]'
main_button_name: main_button_name:
@ -123,24 +109,6 @@ streamline_templates:
} !important; } !important;
transition: background-color 1s !important; transition: background-color 1s !important;
} }
.bubble-icon-container {
background: ${
occupancy === 'on' ? 'var(--accent-color)' : 'var(--card-background-color)'
} !important;
}
.bubble-icon-container::after {
opacity: ${
occupancy === 'on' ? 0.3 : 0
} !important;
transition: all 1s !important;
}
.bubble-icon {
display: flex !important;
opacity: 0.5 !important;
}
.is-on .bubble-icon {
opacity: 1 !important;
}
.bubble-sub-button { .bubble-sub-button {
background: transparent background: transparent
} }
@ -223,20 +191,6 @@ streamline_templates:
background-color: ${state === 'on' ? 'var(--error-color)' : 'var(--background-color-2)'} !important; background-color: ${state === 'on' ? 'var(--error-color)' : 'var(--background-color-2)'} !important;
transition: background-color 1s !important; transition: background-color 1s !important;
} }
.bubble-icon-container {
background: ${state === 'on' ? 'var(--error-color)' : 'var(--card-background-color)'} !important;
}
.bubble-icon-container::after {
opacity: ${state === 'on' ? 0.3 : 0} !important;
transition: all 1s !important;
}
.bubble-icon {
display: flex !important;
opacity: 0.5 !important;
}
.is-on .bubble-icon {
opacity: 1 !important;
}
popup_accent_color_button: popup_accent_color_button:
defaults: defaults:
- name: '' - name: ''
@ -263,9 +217,6 @@ streamline_templates:
opacity: 1 !important; opacity: 1 !important;
background-color: ${state === 'on' ? 'var(--accent-color)' : 'var(--background-color-2)'} !important; background-color: ${state === 'on' ? 'var(--accent-color)' : 'var(--background-color-2)'} !important;
} }
.bubble-icon {
color: ${state === 'on' ? 'var(--accent-color)' : 'var(--text-color)'} !important;
}
popup_temperature_button: popup_temperature_button:
defaults: defaults:
- name: '' - name: ''
@ -285,13 +236,6 @@ streamline_templates:
background-color: ${hass.states['[[hot_entity]]'].state === 'on' ? 'var(--error-color)' : 'var(--background-color-2)'} !important; background-color: ${hass.states['[[hot_entity]]'].state === 'on' ? 'var(--error-color)' : 'var(--background-color-2)'} !important;
transition: background-color 1s !important; transition: background-color 1s !important;
} }
.bubble-icon-container {
background: ${hass.states['[[hot_entity]]'].state === 'on' ? 'var(--error-color)' : 'var(--card-background-color)'} !important;
}
.bubble-icon-container::after {
opacity: ${hass.states['[[hot_entity]]'].state === 'on' ? 0.3 : 0} !important;
transition: all 1s !important;
}
popup_timer_card: popup_timer_card:
defaults: defaults:
name: '' name: ''
@ -492,19 +436,6 @@ views:
layout: vertical layout: vertical
icon_type: entity-picture icon_type: entity-picture
fill_container: false fill_container: false
- type: heading
icon: mdi:calendar
heading: Calendar
heading_style: title
- type: custom:bubble-card
card_type: calendar
modules:
- default
entities:
- entity: calendar.family
color: '#608414'
show_end: true
show_progress: true
- type: heading - type: heading
icon: mdi:cctv icon: mdi:cctv
heading: Cameras heading: Cameras
@ -529,6 +460,32 @@ views:
- condition: state - condition: state
entity: camera.side_camera entity: camera.side_camera
state_not: unavailable state_not: unavailable
- type: heading
icon: mdi:calendar
heading: Calendar
heading_style: title
- type: custom:bubble-card
card_type: calendar
modules:
- default
entities:
- entity: calendar.family
color: '#608414'
- entity: calendar.kallen_school_days
color: deep-orange
- entity: calendar.tony_s_twitch_schedule
color: '#A567EE'
- entity: calendar.kallen_early_release
color: '#83BC1B'
- entity: calendar.tm24fan8_gmail_com
color: '#EF2411'
- entity: calendar.irishpirate1988_gmail_com
color: '#6BFA27'
- entity: calendar.vacation
color: '#E4DF8D'
show_end: true
show_progress: true
rows: '5'
- type: grid - type: grid
cards: cards:
- type: heading - type: heading
@ -608,38 +565,6 @@ views:
!important; !important;
transition: background-color 1s !important; transition: background-color 1s !important;
} }
.bubble-icon-container {
background:
{% set feeding_reminders = states('counter.rabbit_feeding_reminder_count') | int %}
{% set cleaning_reminders = states('counter.rabbit_hutch_cleaning_reminder_count') | int %}
{% if feeding_reminders == 0 and cleaning_reminders == 0 %}
var(--card-background-color)
{% elif feeding_reminders < 3 and cleaning_reminders < 3 %}
var(--warning-color)
{% else %}
var(--error-color)
{% endif %}
!important;
}
.bubble-icon-container::after {
opacity:
{% set feeding_reminders = states('counter.rabbit_feeding_reminder_count') | int %}
{% set cleaning_reminders = states('counter.rabbit_hutch_cleaning_reminder_count') | int %}
{% if feeding_reminders > 0 or cleaning_reminders > 0 %}
0.3
{% else %}
0
{% endif %}
!important;
transition: all 1s !important;
}
.bubble-icon {
display: flex !important;
opacity: 0.5 !important;
}
.is-on .bubble-icon {
opacity: 1 !important;
}
- type: custom:streamline-card - type: custom:streamline-card
template: main_button_name template: main_button_name
variables: variables:
@ -755,46 +680,6 @@ views:
!important; !important;
transition: background-color 1s !important; transition: background-color 1s !important;
} }
.bubble-icon-container {
background:
{% set counters = states.counter
| selectattr('entity_id','contains','tony')
| selectattr('entity_id','contains','meds')
| map(attribute='state')
| max
| int %}
{% if counters == 0 %}
var(--card-background-color)
{% elif counters < 3 %}
var(--warning-color)
{% else %}
var(--error-color)
{% endif %}
!important;
}
.bubble-icon-container::after {
opacity:
{% set counters = states.counter
| selectattr('entity_id','contains','tony')
| selectattr('entity_id','contains','meds')
| map(attribute='state')
| max
| int %}
{% if counters > 0 %}
0.3
{% else %}
0
{% endif %}
!important;
transition: all 1s !important;
}
.bubble-icon {
display: flex !important;
opacity: 0.5 !important;
}
.is-on .bubble-icon {
opacity: 1 !important;
}
visibility: visibility:
- condition: user - condition: user
users: users:
@ -838,46 +723,6 @@ views:
!important; !important;
transition: background-color 1s !important; transition: background-color 1s !important;
} }
.bubble-icon-container {
background:
{% set counters = states.counter
| selectattr('entity_id','contains','tina')
| selectattr('entity_id','contains','meds')
| map(attribute='state')
| max
| int %}
{% if counters == 0 %}
var(--card-background-color)
{% elif counters < 3 %}
var(--warning-color)
{% else %}
var(--error-color)
{% endif %}
!important;
}
.bubble-icon-container::after {
opacity:
{% set counters = states.counter
| selectattr('entity_id','contains','tina')
| selectattr('entity_id','contains','meds')
| map(attribute='state')
| max
| int %}
{% if counters > 0 %}
0.3
{% else %}
0
{% endif %}
!important;
transition: all 1s !important;
}
.bubble-icon {
display: flex !important;
opacity: 0.5 !important;
}
.is-on .bubble-icon {
opacity: 1 !important;
}
visibility: visibility:
- condition: user - condition: user
users: users:
@ -929,46 +774,6 @@ views:
!important; !important;
transition: background-color 1s !important; transition: background-color 1s !important;
} }
.bubble-icon-container {
background:
{% set counters = states.counter
| selectattr('entity_id','contains','kallen')
| selectattr('entity_id','contains','meds')
| map(attribute='state')
| max
| int %}
{% if counters == 0 %}
var(--card-background-color)
{% elif counters < 3 %}
var(--warning-color)
{% else %}
var(--error-color)
{% endif %}
!important;
}
.bubble-icon-container::after {
opacity:
{% set counters = states.counter
| selectattr('entity_id','contains','kallen')
| selectattr('entity_id','contains','meds')
| map(attribute='state')
| max
| int %}
{% if counters > 0 %}
0.3
{% else %}
0
{% endif %}
!important;
transition: all 1s !important;
}
.bubble-icon {
display: flex !important;
opacity: 0.5 !important;
}
.is-on .bubble-icon {
opacity: 1 !important;
}
- type: custom:bubble-card - type: custom:bubble-card
card_type: button card_type: button
button_type: name button_type: name
@ -1064,20 +869,6 @@ views:
background-color: ${state === 'on' ? 'var(--accent-color)' : 'var(--bubble-main-background-color)'} !important; background-color: ${state === 'on' ? 'var(--accent-color)' : 'var(--bubble-main-background-color)'} !important;
transition: background-color 1s !important; transition: background-color 1s !important;
} }
.bubble-icon-container {
background: ${state === 'on' ? 'var(--accent-color)' : 'var(--card-background-color)'} !important;
}
.bubble-icon-container::after {
opacity: ${state === 'on' ? 0.3 : 0} !important;
transition: all 1s !important;
}
.bubble-icon {
display: flex !important;
opacity: 0.5 !important;
}
.is-on .bubble-icon {
opacity: 1 !important;
}
tap_action: tap_action:
action: navigate action: navigate
navigation_path: '#front-porch' navigation_path: '#front-porch'
@ -1300,9 +1091,6 @@ views:
opacity: 1 !important; opacity: 1 !important;
background-color: ${state === 'on' ? 'var(--accent-color)' : 'var(--background-color-2)'} !important; background-color: ${state === 'on' ? 'var(--accent-color)' : 'var(--background-color-2)'} !important;
} }
.bubble-icon {
color: ${state === 'on' ? 'var(--accent-color)' : 'var(--text-color)'} !important;
}
modules: modules:
- default - default
entity: switch.front_porch_storm_mode entity: switch.front_porch_storm_mode
@ -1338,9 +1126,6 @@ views:
opacity: 1 !important; opacity: 1 !important;
background-color: ${state === 'on' ? 'var(--accent-color)' : 'var(--background-color-2)'} !important; background-color: ${state === 'on' ? 'var(--accent-color)' : 'var(--background-color-2)'} !important;
} }
.bubble-icon {
color: ${state === 'on' ? 'var(--accent-color)' : 'var(--text-color)'} !important;
}
modules: modules:
- default - default
- type: custom:bubble-card - type: custom:bubble-card
@ -1362,9 +1147,6 @@ views:
opacity: 1 !important; opacity: 1 !important;
background-color: ${state === 'on' ? 'var(--success-color)' : 'var(--background-color-2)'} !important; background-color: ${state === 'on' ? 'var(--success-color)' : 'var(--background-color-2)'} !important;
} }
.bubble-icon {
color: ${state === 'on' ? 'var(--success-color)' : 'var(--text-color)'} !important;
}
- type: custom:streamline-card - type: custom:streamline-card
template: popup_timer_card template: popup_timer_card
variables: variables:
@ -2662,9 +2444,6 @@ views:
opacity: 1 !important; opacity: 1 !important;
background-color: ${state === 'on' ? 'var(--accent-color)' : 'var(--background-color-2)'} !important; background-color: ${state === 'on' ? 'var(--accent-color)' : 'var(--background-color-2)'} !important;
} }
.bubble-icon {
color: ${state === 'on' ? 'var(--accent-color)' : 'var(--text-color)'} !important;
}
- type: custom:bubble-card - type: custom:bubble-card
card_type: button card_type: button
button_type: state button_type: state
@ -2689,20 +2468,6 @@ views:
background-color: ${state === 'on' ? 'var(--error-color)' : 'var(--background-color-2)'} !important; background-color: ${state === 'on' ? 'var(--error-color)' : 'var(--background-color-2)'} !important;
transition: background-color 1s !important; transition: background-color 1s !important;
} }
.bubble-icon-container {
background: ${state === 'on' ? 'var(--error-color)' : 'var(--card-background-color)'} !important;
}
.bubble-icon-container::after {
opacity: ${state === 'on' ? 0.3 : 0} !important;
transition: all 1s !important;
}
.bubble-icon {
display: flex !important;
opacity: 0.5 !important;
}
.is-on .bubble-icon {
opacity: 1 !important;
}
- type: horizontal-stack - type: horizontal-stack
cards: cards:
- type: custom:bubble-card - type: custom:bubble-card
@ -3065,9 +2830,6 @@ views:
opacity: 1 !important; opacity: 1 !important;
background-color: ${state === 'on' ? 'var(--accent-color)' : 'var(--background-color-2)'} !important; background-color: ${state === 'on' ? 'var(--accent-color)' : 'var(--background-color-2)'} !important;
} }
.bubble-icon {
color: ${state === 'on' ? 'var(--accent-color)' : 'var(--text-color)'} !important;
}
- type: custom:bubble-card - type: custom:bubble-card
card_type: button card_type: button
button_type: state button_type: state
@ -3092,20 +2854,6 @@ views:
background-color: ${state === 'on' ? 'var(--error-color)' : 'var(--background-color-2)'} !important; background-color: ${state === 'on' ? 'var(--error-color)' : 'var(--background-color-2)'} !important;
transition: background-color 1s !important; transition: background-color 1s !important;
} }
.bubble-icon-container {
background: ${state === 'on' ? 'var(--error-color)' : 'var(--card-background-color)'} !important;
}
.bubble-icon-container::after {
opacity: ${state === 'on' ? 0.3 : 0} !important;
transition: all 1s !important;
}
.bubble-icon {
display: flex !important;
opacity: 0.5 !important;
}
.is-on .bubble-icon {
opacity: 1 !important;
}
- type: conditional - type: conditional
conditions: conditions:
- condition: state - condition: state
@ -3236,20 +2984,6 @@ views:
background-color: ${state === 'on' ? 'var(--error-color)' : 'var(--background-color-2)'} !important; background-color: ${state === 'on' ? 'var(--error-color)' : 'var(--background-color-2)'} !important;
transition: background-color 1s !important; transition: background-color 1s !important;
} }
.bubble-icon-container {
background: ${state === 'on' ? 'var(--error-color)' : 'var(--card-background-color)'} !important;
}
.bubble-icon-container::after {
opacity: ${state === 'on' ? 0.3 : 0} !important;
transition: all 1s !important;
}
.bubble-icon {
display: flex !important;
opacity: 0.5 !important;
}
.is-on .bubble-icon {
opacity: 1 !important;
}
- type: custom:bubble-card - type: custom:bubble-card
card_type: separator card_type: separator
name: Doors name: Doors