-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: include additional custom dashboards json files from .storage f…
…older
- Loading branch information
1 parent
d0a8b3b
commit 83a3076
Showing
6 changed files
with
1,322 additions
and
156 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,246 @@ | ||
{ | ||
"version": 1, | ||
"minor_version": 1, | ||
"key": "lovelace.dashboard_test", | ||
"data": { | ||
"config": { | ||
"views": [ | ||
{ | ||
"theme": "Backend-selected", | ||
"icon": "mdi:desktop-classic", | ||
"path": "pc", | ||
"badges": [], | ||
"cards": [ | ||
{ | ||
"type": "vertical-stack", | ||
"cards": [ | ||
{ | ||
"type": "custom:mushroom-title-card", | ||
"title": "Scrivania" | ||
}, | ||
{ | ||
"type": "horizontal-stack", | ||
"cards": [ | ||
{ | ||
"type": "custom:mushroom-light-card", | ||
"entity": "light.luce_scrivania", | ||
"icon": "mdi:led-strip-variant", | ||
"tap_action": { | ||
"action": "toggle" | ||
}, | ||
"name": "Luce", | ||
"show_brightness_control": true, | ||
"collapsible_controls": true, | ||
"use_light_color": true | ||
} | ||
] | ||
}, | ||
{ | ||
"type": "horizontal-stack", | ||
"cards": [ | ||
{ | ||
"type": "custom:mushroom-entity-card", | ||
"entity": "switch.fisso", | ||
"icon": "mdi:desktop-classic", | ||
"tap_action": { | ||
"action": "toggle" | ||
}, | ||
"name": "PC", | ||
"icon_color": "green" | ||
}, | ||
{ | ||
"type": "custom:mushroom-entity-card", | ||
"entity": "switch.casse_pc", | ||
"icon": "mdi:speaker", | ||
"tap_action": { | ||
"action": "toggle" | ||
}, | ||
"name": "Casse", | ||
"icon_color": "purple" | ||
} | ||
] | ||
}, | ||
{ | ||
"type": "horizontal-stack", | ||
"cards": [ | ||
{ | ||
"type": "custom:mushroom-light-card", | ||
"icon": "", | ||
"tap_action": { | ||
"action": "toggle" | ||
}, | ||
"name": "Scheda madre", | ||
"show_brightness_control": true, | ||
"collapsible_controls": true, | ||
"use_light_color": true, | ||
"show_color_control": true, | ||
"show_color_temp_control": false, | ||
"entity": "light.asus_tuf_gaming_b460_plus_0" | ||
}, | ||
{ | ||
"type": "custom:mushroom-light-card", | ||
"icon": "mdi:led-strip-variant", | ||
"tap_action": { | ||
"action": "toggle" | ||
}, | ||
"name": "Led PC", | ||
"show_brightness_control": true, | ||
"collapsible_controls": true, | ||
"use_light_color": true, | ||
"show_color_control": true, | ||
"fill_container": false, | ||
"show_color_temp_control": false, | ||
"entity": "light.nzxt_smart_device_v2_2" | ||
} | ||
] | ||
} | ||
] | ||
}, | ||
{ | ||
"type": "vertical-stack", | ||
"cards": [ | ||
{ | ||
"type": "custom:mushroom-title-card", | ||
"title": "🖥️ Fisso" | ||
}, | ||
{ | ||
"type": "vertical-stack", | ||
"cards": [ | ||
{ | ||
"type": "custom:mushroom-template-card", | ||
"primary": "CPU", | ||
"secondary": "{{ states('sensor.fisso_cpuload') }} %", | ||
"icon": "mdi:chart-areaspline", | ||
"icon_color": "deep-orange", | ||
"entity": "sensor.fisso_cpuload", | ||
"badge_icon": "", | ||
"tap_action": { | ||
"action": "more-info" | ||
}, | ||
"card_mod": { | ||
"style": "{% set ashlvl = states('sensor.fisso_cpuload') | float(0) %}\n{% set ashpercent1 = ashlvl %}\n{% set ashpercent2 = ashpercent1 + 0.1 %}\nha-card {\n background: linear-gradient(90deg, rgb(255,111,34,0.5) {{ ashpercent1 }}%, #1D1D1D {{ ashpercent2 }}%);\n border-color:rgba(52,52,52,1);\n}\n" | ||
} | ||
}, | ||
{ | ||
"type": "custom:mushroom-template-card", | ||
"primary": "RAM", | ||
"secondary": "{{ states('sensor.fisso_memoryusage') }} %", | ||
"icon": "mdi:memory", | ||
"icon_color": "blue", | ||
"entity": "sensor.fisso_memoryusage", | ||
"badge_icon": "", | ||
"card_mod": { | ||
"style": "{% set ashlvl = states('sensor.fisso_memoryusage') | float(0) %}\n{% set ashpercent1 = ashlvl %}\n{% set ashpercent2 = ashpercent1 + 0.1 %}\nha-card {\n background: linear-gradient(90deg, rgba(33,150,243,0.5) {{ ashpercent1 }}%, #1D1D1D {{ ashpercent2 }}%);\n border-color:rgba(52,52,52,1);\n}\n" | ||
}, | ||
"tap_action": { | ||
"action": "more-info" | ||
} | ||
} | ||
] | ||
}, | ||
{ | ||
"type": "entities", | ||
"entities": [ | ||
{ | ||
"entity": "sensor.fisso_activewindow", | ||
"name": "Finestra Attiva" | ||
}, | ||
{ | ||
"entity": "sensor.fisso_currentvolume", | ||
"name": "Volume" | ||
}, | ||
{ | ||
"entity": "button.fisso_mediamute", | ||
"name": "Mute", | ||
"icon": "mdi:volume-mute" | ||
}, | ||
{ | ||
"entity": "button.fisso_hibernate", | ||
"name": "Hibernate", | ||
"icon": "mdi:snowflake" | ||
} | ||
] | ||
} | ||
] | ||
}, | ||
{ | ||
"type": "vertical-stack", | ||
"cards": [ | ||
{ | ||
"type": "custom:mushroom-title-card", | ||
"title": "💻 Abo" | ||
}, | ||
{ | ||
"type": "vertical-stack", | ||
"cards": [ | ||
{ | ||
"type": "custom:mushroom-template-card", | ||
"primary": "CPU", | ||
"secondary": "{{ states('sensor.abo_cpuload') }} %", | ||
"icon": "mdi:chart-areaspline", | ||
"icon_color": "deep-orange", | ||
"entity": "sensor.abo_cpuload", | ||
"badge_icon": "", | ||
"tap_action": { | ||
"action": "more-info" | ||
}, | ||
"card_mod": { | ||
"style": "{% set ashlvl = states('sensor.abo_cpuload') | float(0) %}\n{% set ashpercent1 = ashlvl %}\n{% set ashpercent2 = ashpercent1 + 0.1 %}\nha-card {\n background: linear-gradient(90deg, rgb(255,111,34,0.5) {{ ashpercent1 }}%, #1D1D1D {{ ashpercent2 }}%);\n border-color:rgba(52,52,52,1);\n}\n" | ||
} | ||
}, | ||
{ | ||
"type": "custom:mushroom-template-card", | ||
"primary": "RAM", | ||
"secondary": "{{ states('sensor.abo_memoryusage') }} %", | ||
"icon": "mdi:memory", | ||
"icon_color": "blue", | ||
"entity": "sensor.abo_memoryusage", | ||
"badge_icon": "", | ||
"tap_action": { | ||
"action": "more-info" | ||
}, | ||
"card_mod": { | ||
"style": "{% set ashlvl = states('sensor.abo_memoryusage') | float(0) %}\n{% set ashpercent1 = ashlvl %}\n{% set ashpercent2 = ashpercent1 + 0.1 %}\nha-card {\n background: linear-gradient(90deg, rgba(33,150,243,0.5) {{ ashpercent1 }}%, #1D1D1D {{ ashpercent2 }}%);\n border-color:rgba(52,52,52,1);\n}\n" | ||
} | ||
} | ||
] | ||
}, | ||
{ | ||
"type": "entities", | ||
"entities": [ | ||
{ | ||
"entity": "sensor.abo_activewindow", | ||
"name": "Finestra attiva" | ||
}, | ||
{ | ||
"entity": "sensor.abo_battery_charge_remaining_percentage", | ||
"name": "Batteria" | ||
}, | ||
{ | ||
"entity": "sensor.abo_battery_charge_status", | ||
"name": "In carica" | ||
}, | ||
{ | ||
"entity": "sensor.abo_audio_default_device_volume", | ||
"name": "Volume" | ||
}, | ||
{ | ||
"entity": "button.abo_mediamute", | ||
"name": "Mute", | ||
"icon": "mdi:volume-mute" | ||
}, | ||
{ | ||
"entity": "button.abo_hibernate", | ||
"name": "Hibernate", | ||
"icon": "mdi:snowflake" | ||
} | ||
] | ||
} | ||
] | ||
} | ||
] | ||
} | ||
] | ||
} | ||
} | ||
} |
Oops, something went wrong.