-
Notifications
You must be signed in to change notification settings - Fork 446
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #677 from basbruss/tab-view
Add Adaptive Dashboard
- Loading branch information
Showing
32 changed files
with
940 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
40 changes: 40 additions & 0 deletions
40
custom_components/ui_lovelace_minimalist/lovelace/adaptive-dash/adaptive-ui.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
--- | ||
button_card_templates: !include_dir_merge_named "../../../custom_components/ui_lovelace_minimalist/__ui_minimalist__/ulm_templates/" | ||
|
||
title: "UI Lovelace Minimalist" | ||
theme: "minimalist-desktop" | ||
background: "var(--background-image)" | ||
views: | ||
- type: "custom:grid-layout" | ||
title: "home" | ||
icon: "mdi:home" | ||
path: "0" | ||
layout: | ||
grid-template-columns: "1fr 1fr" | ||
grid-template-rows: "min-content" | ||
grid-template-areas: | | ||
"main popup" | ||
mediaquery: | ||
"(max-width: 1100px), (orientation: portrait)": | ||
grid-template-columns: "100%" | ||
grid-template-areas: "main" | ||
cards: | ||
- !include "views/main.yaml" | ||
- !include "popup/popup.yaml" | ||
|
||
- type: "custom:grid-layout" | ||
title: "Livingroom" | ||
icon: "mdi:sofa" | ||
path: "Livingroom" | ||
layout: | ||
grid-template-columns: "1fr 1fr" | ||
grid-template-rows: "min-content" | ||
grid-template-areas: | | ||
"livingroom popup" | ||
mediaquery: | ||
"(max-width: 1100px), (orientation: portrait)": | ||
grid-template-columns: "100%" | ||
grid-template-areas: "livingroom" | ||
cards: | ||
- !include "views/livingroom.yaml" | ||
- !include "popup/popup.yaml" |
169 changes: 169 additions & 0 deletions
169
custom_components/ui_lovelace_minimalist/lovelace/adaptive-dash/popup/popup.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,169 @@ | ||
--- | ||
type: "custom:state-switch" | ||
view_layout: | ||
grid-area: "popup" | ||
show: | ||
# only show when screen-width is larger than 1100px | ||
mediaquery: "(min-width: 1100px)" | ||
# add your input_select | ||
entity: | ||
default: "default" | ||
transition: "slide-down" | ||
transition_time: 500 | ||
# options set in the input_select | ||
states: | ||
# Devices | ||
## Lights | ||
# light 1: | ||
# type: "custom:button-card" | ||
# template: "popup_light_brightness" | ||
# variables: | ||
# ulm_popup_light_entity: | ||
# light 2: | ||
# type: "custom:button-card" | ||
# template: "popup_light_brightness" | ||
# variables: | ||
# ulm_popup_light_entity: | ||
# light 3: | ||
# type: "custom:button-card" | ||
# template: "popup_light_brightness" | ||
# variables: | ||
# ulm_popup_light_entity: | ||
# light 4: | ||
# type: "custom:button-card" | ||
# template: "popup_light_brightness" | ||
# variables: | ||
# ulm_popup_light_entity: | ||
# light 5: | ||
# type: "custom:button-card" | ||
# template: "popup_light_brightness" | ||
# variables: | ||
# ulm_popup_light_entity: | ||
# light 6: | ||
# type: "custom:button-card" | ||
# template: "popup_light_brightness" | ||
# variables: | ||
# ulm_popup_light_entity: | ||
# light 7: | ||
# type: "custom:button-card" | ||
# template: "popup_light_brightness" | ||
# variables: | ||
# ulm_popup_light_entity: | ||
# light 8: | ||
# type: "custom:button-card" | ||
# template: "popup_light_brightness" | ||
# variables: | ||
# ulm_popup_light_entity: | ||
# light 9: | ||
# type: "custom:button-card" | ||
# template: "popup_light_brightness" | ||
# variables: | ||
# ulm_popup_light_entity: | ||
# light 10: | ||
# type: "custom:button-card" | ||
# template: "popup_light_brightness" | ||
# variables: | ||
# ulm_popup_light_entity: | ||
# | ||
### Mediaplayers | ||
# mediaplayer 1: | ||
# type: "custom:button-card" | ||
# template: "popup_media_player_infos" | ||
# variables: | ||
# ulm_popup_media_player_entity: | ||
# mediaplayer 2: | ||
# type: "custom:button-card" | ||
# template: "popup_media_player_infos" | ||
# variables: | ||
# ulm_popup_media_player_entity: | ||
# mediaplayer 3: | ||
# type: "custom:button-card" | ||
# template: "popup_media_player_infos" | ||
# variables: | ||
# ulm_popup_media_player_entity: | ||
# mediaplayer 4: | ||
# type: "custom:button-card" | ||
# template: "popup_media_player_infos" | ||
# variables: | ||
# ulm_popup_media_player_entity: | ||
# mediaplayer 5: | ||
# type: "custom:button-card" | ||
# template: "popup_media_player_infos" | ||
# variables: | ||
# ulm_popup_media_player_entity: | ||
# | ||
### Thermostats | ||
# climate 1: | ||
# type: "custom:button-card" | ||
# template: "popup_thermostat_temperature" | ||
# variables: | ||
# ulm_popup_thermostat_entity: | ||
# climate 2: | ||
# type: "custom:button-card" | ||
# template: "popup_thermostat_temperature" | ||
# variables: | ||
# ulm_popup_thermostat_entity: | ||
# climate 3: | ||
# type: "custom:button-card" | ||
# template: "popup_thermostat_temperature" | ||
# variables: | ||
# ulm_popup_thermostat_entity: | ||
# climate 4: | ||
# type: "custom:button-card" | ||
# template: "popup_thermostat_temperature" | ||
# variables: | ||
# ulm_popup_thermostat_entity: | ||
# climate 5: | ||
# type: "custom:button-card" | ||
# template: "popup_thermostat_temperature" | ||
# variables: | ||
# ulm_popup_thermostat_entity: | ||
# | ||
### Power | ||
# power 1: | ||
# type: "custom:button-card" | ||
# template: "popup_power_outlet_stats" | ||
# variables: | ||
# ulm_popup_power_outlet_entity: | ||
# ulm_popup_power_outlet_sensor1: | ||
# ulm_popup_power_outlet_sensor2: | ||
# ulm_popup_power_outlet_graph_sensor: | ||
# power 2: | ||
# type: "custom:button-card" | ||
# template: "popup_power_outlet_stats" | ||
# variables: | ||
# ulm_popup_power_outlet_entity: | ||
# ulm_popup_power_outlet_sensor1: | ||
# ulm_popup_power_outlet_sensor2: | ||
# ulm_popup_power_outlet_graph_sensor: | ||
# power 3: | ||
# type: "custom:button-card" | ||
# template: "popup_power_outlet_stats" | ||
# variables: | ||
# ulm_popup_power_outlet_entity: | ||
# ulm_popup_power_outlet_sensor1: | ||
# ulm_popup_power_outlet_sensor2: | ||
# ulm_popup_power_outlet_graph_sensor: | ||
# power 4: | ||
# type: "custom:button-card" | ||
# template: "popup_power_outlet_stats" | ||
# variables: | ||
# ulm_popup_power_outlet_entity: | ||
# ulm_popup_power_outlet_sensor1: | ||
# ulm_popup_power_outlet_sensor2: | ||
# ulm_popup_power_outlet_graph_sensor: | ||
# power 5: | ||
# type: "custom:button-card" | ||
# template: "popup_power_outlet_stats" | ||
# variables: | ||
# ulm_popup_power_outlet_entity: | ||
# ulm_popup_power_outlet_sensor1: | ||
# ulm_popup_power_outlet_sensor2: | ||
# ulm_popup_power_outlet_graph_sensor: | ||
|
||
## Rooms | ||
livingroom: !include "../views/livingroom.yaml" | ||
# bedroom: !include "../views/bedroom.yaml" | ||
# bathroom: !include "../views/bathroom.yaml" | ||
# garage: !include "../views/garage.yaml" | ||
# lights: !include "../views/lights.yaml" |
Oops, something went wrong.