From 7471c65d2e4a14d51713bb90e05d226038f535f6 Mon Sep 17 00:00:00 2001 From: Tony Stork Date: Wed, 4 Sep 2024 16:03:49 -0400 Subject: [PATCH] Wider sections in phone tracker and sports dashboards --- main_dashboard.yaml | 263 +++++++++++++++++++++++++------------------- 1 file changed, 148 insertions(+), 115 deletions(-) diff --git a/main_dashboard.yaml b/main_dashboard.yaml index 4ea23fd..2790983 100644 --- a/main_dashboard.yaml +++ b/main_dashboard.yaml @@ -170,6 +170,7 @@ views: action: navigate navigation_path: /lovelace/weather title: Weather + column_span: 1 - type: grid cards: - type: entities @@ -548,6 +549,7 @@ views: [Media Services](https://uptimekuma.nerdhomeinc.com/status/media-services) title: Misc + column_span: 1 max_columns: 4 cards: [] background: {} @@ -4033,28 +4035,36 @@ views: template: iphone_entities_card variables: - device: tony_s_iphone - title: Tony's iPhone - - type: grid - cards: - type: custom:decluttering-card template: phone_info_grid variables: - device: tony_s_iphone - title: Location Info - Tony + title: Tony's iPhone + column_span: 2 - type: grid cards: - type: custom:decluttering-card template: iphone_entities_card variables: - device: tinas_iphone - title: Tina's iPhone - - type: grid - cards: - type: custom:decluttering-card template: phone_info_grid variables: - device: tinas_iphone - title: Location Info - Tina + title: Tina's iPhone + column_span: 2 + - type: grid + cards: + - type: custom:decluttering-card + template: iphone_entities_card + variables: + - device: kallen_iphone + - type: custom:decluttering-card + template: phone_info_grid + variables: + - device: kallen_iphone + title: Kallen's iPhone + column_span: 2 - type: grid cards: - type: map @@ -4080,20 +4090,6 @@ views: hours_to_show: 24 theme_mode: dark title: Map - - type: grid - cards: - - type: custom:decluttering-card - template: iphone_entities_card - variables: - - device: kallen_iphone - title: Kallen's iPhone - - type: grid - cards: - - type: custom:decluttering-card - template: phone_info_grid - variables: - - device: kallen_iphone - title: Location Info - Kallen - type: grid cards: - type: custom:decluttering-card @@ -4925,125 +4921,160 @@ views: cards: - type: custom:teamtracker-card entity: sensor.michigan_wolverines - visibility: - - condition: state - entity: sensor.michigan_wolverines - state_not: NOT_FOUND - - condition: state - entity: sensor.michigan_wolverines - state_not: BYE - - condition: state - entity: binary_sensor.michigan_wolverines_inhibit - state: 'off' - - type: grid - cards: + visibility: + - condition: state + entity: sensor.michigan_wolverines + state_not: NOT_FOUND + - condition: state + entity: sensor.michigan_wolverines + state_not: BYE + - condition: state + entity: binary_sensor.michigan_wolverines_inhibit + state: 'off' - type: custom:teamtracker-card entity: sensor.ohio_state_buckeyes - visibility: - - condition: state - entity: sensor.ohio_state_buckeyes - state_not: NOT_FOUND - - condition: state - entity: sensor.ohio_state_buckeyes - state_not: BYE - - condition: state - entity: binary_sensor.ohio_state_buckeyes_inhibit - state: 'off' - - type: grid - cards: + visibility: + - condition: state + entity: sensor.ohio_state_buckeyes + state_not: NOT_FOUND + - condition: state + entity: sensor.ohio_state_buckeyes + state_not: BYE + - condition: state + entity: binary_sensor.ohio_state_buckeyes_inhibit + state: 'off' - type: custom:teamtracker-card entity: sensor.toledo_rockets + visibility: + - condition: state + entity: sensor.toledo_rockets + state_not: NOT_FOUND + - condition: state + entity: sensor.toledo_rockets + state_not: BYE + - condition: state + entity: binary_sensor.toledo_rockets_inhibit + state: 'off' + column_span: 3 visibility: - - condition: state - entity: sensor.toledo_rockets - state_not: NOT_FOUND - - condition: state - entity: sensor.toledo_rockets - state_not: BYE - - condition: state - entity: binary_sensor.toledo_rockets_inhibit - state: 'off' + - condition: or + conditions: + - condition: state + entity: binary_sensor.michigan_wolverines_inhibit + state: 'off' + - condition: state + entity: binary_sensor.ohio_state_buckeyes_inhibit + state: 'off' + - condition: state + entity: binary_sensor.toledo_rockets_inhibit + state: 'off' + title: NCAAF - type: grid cards: - type: custom:teamtracker-card entity: sensor.minnesota_vikings - visibility: - - condition: state - entity: sensor.minnesota_vikings - state_not: NOT_FOUND - - condition: state - entity: sensor.minnesota_vikings - state_not: BYE - - condition: state - entity: binary_sensor.minnesota_vikings_inhibit - state: 'off' - - type: grid - cards: + visibility: + - condition: state + entity: sensor.minnesota_vikings + state_not: NOT_FOUND + - condition: state + entity: sensor.minnesota_vikings + state_not: BYE + - condition: state + entity: binary_sensor.minnesota_vikings_inhibit + state: 'off' - type: custom:teamtracker-card entity: sensor.san_francisco_49ers + visibility: + - condition: state + entity: sensor.san_francisco_49ers + state_not: NOT_FOUND + - condition: state + entity: sensor.san_francisco_49ers + state_not: BYE + - condition: state + entity: binary_sensor.san_francisco_49ers_inhibit + state: 'off' + column_span: 2 visibility: - - condition: state - entity: sensor.san_francisco_49ers - state_not: NOT_FOUND - - condition: state - entity: sensor.san_francisco_49ers - state_not: BYE - - condition: state - entity: binary_sensor.san_francisco_49ers_inhibit - state: 'off' + - condition: or + conditions: + - condition: state + entity: binary_sensor.minnesota_vikings_inhibit + state: '' + - condition: state + entity: binary_sensor.san_francisco_49ers_inhibit + state: 'off' + title: NFL - type: grid cards: - type: custom:teamtracker-card entity: sensor.minnesota_twins - visibility: - - condition: state - entity: sensor.minnesota_twins - state_not: NOT_FOUND - - condition: state - entity: sensor.minnesota_twins - state_not: BYE - - condition: state - entity: binary_sensor.minnesota_twins_inhibit - state: 'off' - - type: grid - cards: + visibility: + - condition: state + entity: sensor.minnesota_twins + state_not: NOT_FOUND + - condition: state + entity: sensor.minnesota_twins + state_not: BYE + - condition: state + entity: binary_sensor.minnesota_twins_inhibit + state: 'off' - type: custom:teamtracker-card entity: sensor.cleveland_guardians - visibility: - - condition: state - entity: sensor.cleveland_guardians - state_not: NOT_FOUND - - condition: state - entity: sensor.cleveland_guardians - state_not: BYE - - condition: state - entity: binary_sensor.cleveland_guardians_inhibit - state: 'off' - - type: grid - cards: + visibility: + - condition: state + entity: sensor.cleveland_guardians + state_not: NOT_FOUND + - condition: state + entity: sensor.cleveland_guardians + state_not: BYE + - condition: state + entity: binary_sensor.cleveland_guardians_inhibit + state: 'off' - type: custom:teamtracker-card entity: sensor.los_angeles_dodgers + visibility: + - condition: state + entity: sensor.los_angeles_dodgers + state_not: NOT_FOUND + - condition: state + entity: sensor.los_angeles_dodgers + state_not: BYE + - condition: state + entity: binary_sensor.los_angeles_dodgers_inhibit + state: 'off' + column_span: 3 + title: MLB visibility: - - condition: state - entity: sensor.los_angeles_dodgers - state_not: NOT_FOUND - - condition: state - entity: sensor.los_angeles_dodgers - state_not: BYE - - condition: state - entity: binary_sensor.los_angeles_dodgers_inhibit - state: 'off' + - condition: or + conditions: + - condition: state + entity: binary_sensor.minnesota_twins_inhibit + state: 'off' + - condition: state + entity: binary_sensor.cleveland_guardians_inhibit + state: 'off' + - condition: state + entity: binary_sensor.los_angeles_dodgers_inhibit + state: 'off' - type: grid cards: - type: custom:teamtracker-card entity: sensor.minnesota_wild + visibility: + - condition: state + entity: sensor.minnesota_wild + state_not: NOT_FOUND + - condition: state + entity: sensor.minnesota_wild + state_not: BYE + - condition: state + entity: binary_sensor.minnesota_wild_inhibit + state: 'off' + title: NHL + column_span: 1 visibility: - - condition: state - entity: sensor.minnesota_wild - state_not: NOT_FOUND - - condition: state - entity: sensor.minnesota_wild - state_not: BYE - condition: state entity: binary_sensor.minnesota_wild_inhibit state: 'off' @@ -5093,6 +5124,8 @@ views: {% else %} black {% endif %} + column_span: 1 + title: Motorsports max_columns: 5 cards: [] - theme: Backend-selected