Update HACS and plugins, fixed wrong sensor used in computer dashboard

This commit is contained in:
Burningstone91
2021-02-06 00:02:45 +01:00
parent afe7f2060b
commit c19cda6133
6 changed files with 7 additions and 356 deletions

View File

@@ -1167,136 +1167,7 @@ cards:
margin-top: -130px;
margin-right: 30px;
padding-left: 5px;
}
####################################################
# Nextcloud #
####################################################
# Title
- type: markdown
content: >
<center>
<h3>Nextcloud</h3>
</center>
style: |
ha-card {
color: teal;
margin-top: -75px;
}
# Image
- type: markdown
content: >
<center>
<img width="70" src="/local/system_monitoring/nextcloud.png">
</center>
style: |
ha-card {
margin-top: -50px;
}
# Updates
- type: markdown
content: >
<center>
<h5>Uptime:
{{ states('sensor.docker_nextcloud_status') }}<br>
Software:
{{ states('sensor.update_nextcloud') }}<br>
</h5>
</center>
style: |
ha-card {
color: teal;
margin-top: -56px;
}
# CPU
- type: custom:bar-card
positions:
name: outside
value: outside
indicator: 'off'
icon: 'off'
height: 15px
width: 80%
entities:
- entity: sensor.docker_nextcloud_cpu
name: CPU
severity:
- color: rgb(26,204,147,0.33)
from: 0
to: 10
- color: rgb(206,133,0,0.60)
from: 11
to: 25
- color: rgb(163,0,0,0.60)
from: 26
to: 150
style: |
ha-card {
--paper-item-icon-color: rgb(47,186,229);
border-radius: 2.5px;
height: 40px;
}
bar-card-name {
margin-top: -97.5px;
margin-left: 40px;
}
bar-card-backgroundbar {
margin-top: -50px;
border-radius: 2.5px;
}
bar-card-currentbar {
margin-top: -50px;
border-radius: 2.5px;
}
bar-card-value {
margin-top: -97.5px;
margin-right: 30px;
padding-left: 5px;
}
# RAM
- type: custom:bar-card
positions:
name: outside
value: outside
indicator: 'off'
icon: 'off'
height: 15px
width: 80%
entities:
- entity: sensor.docker_nextcloud_memory_percent
name: RAM
severity:
- color: rgb(26,204,147,0.33)
from: 0
to: 69.9
- color: rgb(206,133,0,0.60)
from: 70
to: 85
- color: rgb(163,0,0,0.60)
from: 85
to: 150
style: |
ha-card {
--paper-item-icon-color: rgb(47,186,229);
border-radius: 2.5px;
height: 40px;
}
bar-card-name {
margin-top: -130px;
margin-left: 40px;
}
bar-card-backgroundbar {
margin-top: -67.5px;
border-radius: 2.5px;
}
bar-card-currentbar {
margin-top: -67.5px;
border-radius: 2.5px;
}
bar-card-value {
margin-top: -130px;
margin-right: 30px;
padding-left: 5px;
}
}
- type: vertical-stack
cards:
####################################################
@@ -1557,134 +1428,6 @@ cards:
margin-right: 30px;
padding-left: 5px;
}
####################################################
# Nextcloud DB #
####################################################
# Title
- type: markdown
content: >
<center>
<h3>Nextcloud DB</h3>
</center>
style: |
ha-card {
color: teal;
margin-top: -75px;
}
# Image
- type: markdown
content: >
<center>
<img width="50" src="https://upload.wikimedia.org/wikipedia/de/thumb/4/4b/Postgresql.svg/1200px-Postgresql.svg.png">
</center>
style: |
ha-card {
margin-top: -45.5px;
}
# DB Size
- type: markdown
content: >
<center>
<h5>Uptime:
{{ states('sensor.docker_nextcloud_db_status') }}<br>
Database Size:
{{ states('sensor.db_size_nextcloud') }} MB<br></h5>
</center>
style: |
ha-card {
color: teal;
margin-top: -54px;
}
# CPU
- type: custom:bar-card
positions:
name: outside
value: outside
indicator: 'off'
icon: 'off'
height: 15px
width: 80%
entities:
- entity: sensor.docker_nextcloud_db_cpu
name: CPU
severity:
- color: rgb(26,204,147,0.33)
from: 0
to: 10
- color: rgb(206,133,0,0.60)
from: 11
to: 25
- color: rgb(163,0,0,0.60)
from: 26
to: 150
style: |
ha-card {
--paper-item-icon-color: rgb(47,186,229);
border-radius: 2.5px;
height: 40px;
}
bar-card-name {
margin-top: -97.5px;
margin-left: 40px;
}
bar-card-backgroundbar {
margin-top: -50px;
border-radius: 2.5px;
}
bar-card-currentbar {
margin-top: -50px;
border-radius: 2.5px;
}
bar-card-value {
margin-top: -97.5px;
margin-right: 30px;
padding-left: 5px;
}
# RAM
- type: custom:bar-card
positions:
name: outside
value: outside
indicator: 'off'
icon: 'off'
height: 15px
width: 80%
entities:
- entity: sensor.docker_nextcloud_db_memory_percent
name: RAM
severity:
- color: rgb(26,204,147,0.33)
from: 0
to: 69.9
- color: rgb(206,133,0,0.60)
from: 70
to: 85
- color: rgb(163,0,0,0.60)
from: 85
to: 150
style: |
ha-card {
--paper-item-icon-color: rgb(47,186,229);
border-radius: 2.5px;
height: 40px;
}
bar-card-name {
margin-top: -130px;
margin-left: 40px;
}
bar-card-backgroundbar {
margin-top: -67.5px;
border-radius: 2.5px;
}
bar-card-currentbar {
margin-top: -67.5px;
border-radius: 2.5px;
}
bar-card-value {
margin-top: -130px;
margin-right: 30px;
padding-left: 5px;
}
- type: vertical-stack
cards:
####################################################

View File

@@ -305,7 +305,7 @@ cards:
width: 80%
icon: mdi:speedometer
entities:
- entity: sensor.cpu_load_pi_office
- entity: sensor.cpu_load_pi_zigbee_zwave
name: CPU
severity:
- color: rgb(26,204,147,0.33)
@@ -353,7 +353,7 @@ cards:
height: 15px
width: 80%
entities:
- entity: sensor.temperature_pi_office
- entity: sensor.temperature_pi_zigbee_zwave
name: Temp
severity:
- color: rgb(26,204,147,0.33)
@@ -401,7 +401,7 @@ cards:
height: 15px
width: 80%
entities:
- entity: sensor.ram_use_pct_pi_office
- entity: sensor.ram_use_pct_pi_zigbee_zwave
name: RAM
severity:
- color: rgb(26,204,147,0.33)
@@ -449,7 +449,7 @@ cards:
height: 15px
width: 80%
entities:
- entity: sensor.disk_use_pct_pi_office
- entity: sensor.disk_use_pct_pi_zigbee_zwave
name: Disk
severity:
- color: rgb(26,204,147,0.33)

View File

@@ -1,4 +1,3 @@
#views: !include_dir_list ./views/
views:
- !include ./views/multiroom-audio.yaml
- !include ./views/multi.yaml
- !include ./views/multiroom-audio.yaml

View File

@@ -1,90 +0,0 @@
####################################################
# #
# Multiroom Audio #
# #
####################################################
title: multi
path: multi
panel: false
icon: mdi:spotify
badges: []
cards:
# Livingroom
- type: custom:vertical-stack-in-card
style: |
ha-card {
border-radius: 20px;
}
cards:
# Media Player
- type: custom:mini-media-player
entity: media_player.mpd_livingroom
hide:
progress: true
volume: true
source: true
prev: true
next: true
power: true
# Multiroom Snapclients
- type: custom:mod-card
style: |
ha-card {
width: 100%;
margin-left: 0%;
}
card:
type: custom:fold-entity-row
head:
type: section
label: Multiroom
entities:
# Office
- type: custom:hui-element
card_type: custom:mini-media-player
entity: media_player.snapclient_livingroom
name: Wohnzimmer
icon: mdi:speaker
hide:
progress: true
source: true
power: true
#mute: true
icon: true
style: |
ha-card {
box-shadow: none;
margin-left: -5%;
width: 105%;
}
- type: horizontal-stack
cards:
- type: markdown
content: >
<ha-icon icon="mdi:volume-medium"></ha-icon>
- type: custom:mini-media-player
entity: media_player.mpd_livingroom
hide:
progress: true
source: true
power: true
info: true
name: true
icon: true
controls: true
mute: true
style: |
ha-card {
width: 250%;
margin-left: -75%;
margin-top: -2%;
}
- type: markdown
content: >
<ha-icon icon="mdi:volume-high"></ha-icon>
style: |
ha-card {
margin-left: 48%;
}

View File

@@ -62,7 +62,6 @@ cards:
left: 25%
width: 50%
height: 100%
#'--ha-card-border-radius': '20px'
'--ha-card-box-shadow': 'none'
cards:
# Media Browser
@@ -178,7 +177,7 @@ cards:
width: 55%;
box-shadow: none;
}
# Volume
# Volume
- type: horizontal-stack
cards:
- type: markdown