diff --git a/config/.cache/brands/integrations/automation/icon.png b/config/.cache/brands/integrations/automation/icon.png new file mode 100644 index 00000000..6ae16793 Binary files /dev/null and b/config/.cache/brands/integrations/automation/icon.png differ diff --git a/config/dashboards/infrastructure/popups/docker_14_maintenance.yaml b/config/dashboards/infrastructure/popups/docker_14_maintenance.yaml new file mode 100644 index 00000000..ade276f0 --- /dev/null +++ b/config/dashboards/infrastructure/popups/docker_14_maintenance.yaml @@ -0,0 +1,58 @@ +###################################################################### +# @CCOSTAN - Follow Me on X +# For more info visit https://www.vcloudinfo.com/click-here +# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig +# ------------------------------------------------------------------- +# Infrastructure Popup - docker_14 maintenance +# Bubble Card popup for host maintenance details and safe cleanup actions. +# ------------------------------------------------------------------- +# Related Issue: 1560 +# Notes: Reuses existing Infrastructure button-card templates inside the popup. +###################################################################### + +type: vertical-stack +cards: +- type: custom:bubble-card + card_type: pop-up + hash: '#infra-docker-14' + entity: sensor.docker_14_apt_status + button_type: state + name: docker_14 maintenance + icon: mdi:server + show_header: true + show_state: true + width_desktop: 520px + bg_opacity: '35' +- type: grid + columns: 2 + square: false + cards: + - type: custom:button-card + template: bearstone_infra_apt_prune_tile + name: docker_14 + entity: sensor.docker_14_apt_status + variables: + last_update_sensor: sensor.docker_14_apt_last_update + prune_button: button.docker2_prune_unused_images + name: docker_14 + - type: custom:button-card + template: bearstone_infra_tile + entity: sensor.docker_14_apt_last_update + name: Last Update + icon: mdi:update + variables: + label: Most recent package update + - type: custom:button-card + template: bearstone_infra_tile + entity: sensor.docker_14_apt_last_check + name: Last Check + icon: mdi:calendar-check + variables: + label: Most recent apt check + - type: custom:button-card + template: bearstone_infra_tile + entity: sensor.docker_14_apt_status + name: Apt Status + icon: mdi:package-up + variables: + label: Pending package summary diff --git a/config/dashboards/infrastructure/popups/docker_17_maintenance.yaml b/config/dashboards/infrastructure/popups/docker_17_maintenance.yaml new file mode 100644 index 00000000..38398d5b --- /dev/null +++ b/config/dashboards/infrastructure/popups/docker_17_maintenance.yaml @@ -0,0 +1,58 @@ +###################################################################### +# @CCOSTAN - Follow Me on X +# For more info visit https://www.vcloudinfo.com/click-here +# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig +# ------------------------------------------------------------------- +# Infrastructure Popup - docker_17 maintenance +# Bubble Card popup for host maintenance details and safe cleanup actions. +# ------------------------------------------------------------------- +# Related Issue: 1560 +# Notes: Reuses existing Infrastructure button-card templates inside the popup. +###################################################################### + +type: vertical-stack +cards: +- type: custom:bubble-card + card_type: pop-up + hash: '#infra-docker-17' + entity: sensor.docker_17_apt_status + button_type: state + name: docker_17 maintenance + icon: mdi:server + show_header: true + show_state: true + width_desktop: 520px + bg_opacity: '35' +- type: grid + columns: 2 + square: false + cards: + - type: custom:button-card + template: bearstone_infra_apt_prune_tile + name: docker_17 + entity: sensor.docker_17_apt_status + variables: + last_update_sensor: sensor.docker_17_apt_last_update + prune_button: button.docker17_prune_unused_images + name: docker_17 + - type: custom:button-card + template: bearstone_infra_tile + entity: sensor.docker_17_apt_last_update + name: Last Update + icon: mdi:update + variables: + label: Most recent package update + - type: custom:button-card + template: bearstone_infra_tile + entity: sensor.docker_17_apt_last_check + name: Last Check + icon: mdi:calendar-check + variables: + label: Most recent apt check + - type: custom:button-card + template: bearstone_infra_tile + entity: sensor.docker_17_apt_status + name: Apt Status + icon: mdi:package-up + variables: + label: Pending package summary diff --git a/config/dashboards/infrastructure/popups/docker_69_maintenance.yaml b/config/dashboards/infrastructure/popups/docker_69_maintenance.yaml new file mode 100644 index 00000000..d9eb670b --- /dev/null +++ b/config/dashboards/infrastructure/popups/docker_69_maintenance.yaml @@ -0,0 +1,58 @@ +###################################################################### +# @CCOSTAN - Follow Me on X +# For more info visit https://www.vcloudinfo.com/click-here +# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig +# ------------------------------------------------------------------- +# Infrastructure Popup - docker_69 maintenance +# Bubble Card popup for host maintenance details and safe cleanup actions. +# ------------------------------------------------------------------- +# Related Issue: 1560 +# Notes: Reuses existing Infrastructure button-card templates inside the popup. +###################################################################### + +type: vertical-stack +cards: +- type: custom:bubble-card + card_type: pop-up + hash: '#infra-docker-69' + entity: sensor.docker_69_apt_status + button_type: state + name: docker_69 maintenance + icon: mdi:server + show_header: true + show_state: true + width_desktop: 520px + bg_opacity: '35' +- type: grid + columns: 2 + square: false + cards: + - type: custom:button-card + template: bearstone_infra_apt_prune_tile + name: docker_69 + entity: sensor.docker_69_apt_status + variables: + last_update_sensor: sensor.docker_69_apt_last_update + prune_button: button.docker69_prune_unused_images + name: docker_69 + - type: custom:button-card + template: bearstone_infra_tile + entity: sensor.docker_69_apt_last_update + name: Last Update + icon: mdi:update + variables: + label: Most recent package update + - type: custom:button-card + template: bearstone_infra_tile + entity: sensor.docker_69_apt_last_check + name: Last Check + icon: mdi:calendar-check + variables: + label: Most recent apt check + - type: custom:button-card + template: bearstone_infra_tile + entity: sensor.docker_69_apt_status + name: Apt Status + icon: mdi:package-up + variables: + label: Pending package summary diff --git a/config/dashboards/overview/partials/home_sections.yaml b/config/dashboards/overview/partials/home_sections.yaml index c52b8a51..e54e34eb 100644 --- a/config/dashboards/overview/partials/home_sections.yaml +++ b/config/dashboards/overview/partials/home_sections.yaml @@ -208,7 +208,11 @@ show_last_changed: true tap_action: action: navigate - navigation_path: '#living_room' + navigation_path: '#ovw-living-room' + button_action: + tap_action: + action: navigate + navigation_path: '#ovw-living-room' grid_options: columns: 6 rows: 1 @@ -220,11 +224,11 @@ show_state: true tap_action: action: navigate - navigation_path: '#lights-popup' + navigation_path: '#ovw-lights' button_action: tap_action: action: navigate - navigation_path: '#lights-popup' + navigation_path: '#ovw-lights' grid_options: columns: 6 rows: 1 @@ -234,79 +238,6 @@ show_attribute: false attribute: icon entity: sensor.number_of_lights_on - - type: vertical-stack - cards: - - type: custom:bubble-card - card_type: pop-up - hash: '#living_room' - button_type: slider - entity: light.living_room_lights - name: Living Room Lights - icon: mdi:sofa - show_attribute: false - slide_to_close_distance: '100000' - trigger: [] - bg_opacity: '35' - show_state: true - show_last_changed: true - tap_action: - action: toggle - - type: custom:bubble-card - card_type: button - button_type: slider - entity: light.m1_front_left - name: Front Left - icon: mdi:light-recessed - show_state: true - show_attribute: false - show_last_changed: true - sub_button: [] - grid_options: - columns: 6 - rows: 1 - columns: 2 - - type: custom:bubble-card - card_type: button - button_type: slider - entity: light.m1_front_right - name: Front Right - icon: mdi:light-recessed - show_state: true - show_attribute: false - show_last_changed: true - sub_button: [] - grid_options: - columns: 6 - rows: 1 - - type: custom:bubble-card - card_type: button - button_type: slider - entity: light.m1_back_left - name: Back Left - icon: mdi:light-recessed - show_state: true - show_attribute: false - show_last_changed: true - sub_button: [] - grid_options: - columns: 6 - rows: 1 - - type: custom:bubble-card - card_type: button - button_type: slider - entity: light.m1_back_right - name: Back Right - icon: mdi:light-recessed - show_state: true - show_attribute: false - show_last_changed: true - sub_button: [] - grid_options: - columns: 6 - rows: 1 - grid_options: - columns: 12 - rows: auto - type: custom:bubble-card card_type: button button_type: switch @@ -337,36 +268,8 @@ grid_options: columns: 6 rows: 1 - - type: vertical-stack - cards: - - type: custom:bubble-card - card_type: pop-up - hash: '#lights-popup' - name: Lights Control - icon: mdi:lightbulb-group - width_desktop: 500px - show_header: true - entity: sensor.number_of_lights_on - button_type: name - - type: custom:auto-entities - filter: - include: - - domain: light - exclude: - - state: 'off' - - state: unavailable - - hidden_by: user - show_empty: true - entity: sensor.number_of_lights_on - button_type: state - show_name: true - card: - type: custom:auto-entities - card: - type: entities - filter: - include: [] - exclude: [] + - !include /config/dashboards/overview/popups/living_room.yaml + - !include /config/dashboards/overview/popups/lights.yaml - cards: - type: custom:frigate-events-card frigate_client_id: frigate diff --git a/config/dashboards/overview/popups/lights.yaml b/config/dashboards/overview/popups/lights.yaml new file mode 100644 index 00000000..aca364fd --- /dev/null +++ b/config/dashboards/overview/popups/lights.yaml @@ -0,0 +1,46 @@ +###################################################################### +# @CCOSTAN - Follow Me on X +# For more info visit https://www.vcloudinfo.com/click-here +# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig +# ------------------------------------------------------------------- +# Overview Popup - Lights on +# Bubble Card popup for currently active lights. +# ------------------------------------------------------------------- +# Notes: Keeps the popup hash stable with the `#ovw-*` convention. +# Notes: Uses Bubble slider buttons for each light that is currently on. +###################################################################### + +type: vertical-stack +cards: +- type: custom:bubble-card + card_type: pop-up + hash: '#ovw-lights' + name: Lights Control + icon: mdi:lightbulb-group + width_desktop: 560px + show_header: true + entity: sensor.number_of_lights_on + button_type: name +- type: custom:auto-entities + show_empty: true + card: + type: grid + columns: 2 + square: false + card_param: cards + filter: + include: + - domain: light + options: + type: custom:bubble-card + card_type: button + button_type: slider + show_state: true + show_last_changed: true + show_attribute: false + exclude: + - state: 'off' + - state: unavailable + - hidden_by: user + sort: + method: friendly_name diff --git a/config/dashboards/overview/popups/living_room.yaml b/config/dashboards/overview/popups/living_room.yaml new file mode 100644 index 00000000..34b40666 --- /dev/null +++ b/config/dashboards/overview/popups/living_room.yaml @@ -0,0 +1,92 @@ +###################################################################### +# @CCOSTAN - Follow Me on X +# For more info visit https://www.vcloudinfo.com/click-here +# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig +# ------------------------------------------------------------------- +# Overview Popup - Living room lights +# Bubble Card popup for living room lighting drill-down and scenes. +# ------------------------------------------------------------------- +# Notes: Uses Bubble sub-buttons to reduce vertical sprawl in the popup. +# Notes: Keeps scene actions limited to scenes already defined in `config/scene/living_room.yaml`. +###################################################################### + +type: vertical-stack +cards: +- type: custom:bubble-card + card_type: pop-up + hash: '#ovw-living-room' + button_type: slider + entity: light.living_room_lights + name: Living Room Lights + icon: mdi:sofa + show_attribute: false + slide_to_close_distance: '100000' + trigger: [] + bg_opacity: '35' + width_desktop: 560px + show_header: true + show_state: true + show_last_changed: true + tap_action: + action: toggle +- type: custom:bubble-card + card_type: button + button_type: slider + entity: light.living_room_lights + name: Main Lights + icon: mdi:lightbulb-group-outline + show_state: true + show_last_changed: true + card_layout: large-sub-buttons-grid + rows: 2 + sub_button: + - entity: light.m1_front_left + name: Front Left + icon: mdi:light-recessed + - entity: light.m1_front_right + name: Front Right + icon: mdi:light-recessed + - entity: light.m1_back_left + name: Back Left + icon: mdi:light-recessed + - entity: light.m1_back_right + name: Back Right + icon: mdi:light-recessed +- type: custom:bubble-card + card_type: button + button_type: name + entity: light.living_room_lights + name: Lighting Scenes + icon: mdi:palette-outline + show_state: false + card_layout: large-sub-buttons-grid + rows: 2 + sub_button: + - name: Day + icon: mdi:white-balance-sunny + tap_action: + action: call-service + service: scene.turn_on + service_data: + entity_id: scene.living_room_daytime_cool + - name: Evening + icon: mdi:weather-sunset + tap_action: + action: call-service + service: scene.turn_on + service_data: + entity_id: scene.living_room_evening_amber + - name: TV + icon: mdi:television-ambient-light + tap_action: + action: call-service + service: scene.turn_on + service_data: + entity_id: scene.tv_time + - name: Red + icon: mdi:led-strip-variant + tap_action: + action: call-service + service: scene.turn_on + service_data: + entity_id: scene.red_living_room