Update PC info gauge card pros with new options

This commit is contained in:
2026-01-31 22:00:08 -05:00
parent fc70e23f6b
commit 0d12bd36cd

View File

@@ -3973,6 +3973,12 @@ views:
gradient: true
titles:
primary: CPU
primary_color: |-
{% if states(entity) | int >= 90 %}
var(--error-color)
{% else %}
var(--primary-text-color)
{% endif %}
entity2: sensor.kallen_desktop_cpu_temperature
min: 0
max: 100
@@ -3988,8 +3994,9 @@ views:
- from: 95
color: var(--error-color)
gradient: true
gradient_resolution: high
gradient_resolution: high
gradient_resolution: auto
round: small
gradient_resolution: auto
value_texts:
primary: |
{% if states(entity) | int >= 90 %}
@@ -4003,6 +4010,19 @@ views:
{% else %}
{{ states(entity2) | int }}
{% endif %}
primary_color: |-
{% if states(entity) | int >= 90 %}
var(--error-color)
{% else %}
var(--primary-text-color)
{% endif %}
secondary_color: |
{% if states(entity2) | int >= 95 %}
var(--error-color)
{% else %}
var(--primary-text-color)
{% endif %}
round: small
- type: custom:gauge-card-pro
entity: sensor.kallen_desktop_gpu_core_load
segments:
@@ -4016,6 +4036,12 @@ views:
gradient: true
titles:
primary: GPU
primary_color: |-
{% if states(entity) | int >= 90 %}
var(--error-color)
{% else %}
var(--primary-text-color)
{% endif %}
entity2: sensor.kallen_desktop_gpu_temperature
min: 0
max: 100
@@ -4031,8 +4057,9 @@ views:
- from: 85
color: var(--error-color)
gradient: true
gradient_resolution: high
gradient_resolution: high
gradient_resolution: auto
round: small
gradient_resolution: auto
value_texts:
primary: |
{% if states(entity) | int >= 90 %}
@@ -4046,6 +4073,19 @@ views:
{% else %}
{{ states(entity2) | int }}
{% endif %}
primary_color: |-
{% if states(entity) | int >= 90 %}
var(--error-color)
{% else %}
var(--primary-text-color)
{% endif %}
secondary_color: |
{% if states(entity2) | int >= 95 %}
var(--error-color)
{% else %}
var(--primary-text-color)
{% endif %}
round: small
visibility:
- condition: and
conditions:
@@ -4101,7 +4141,13 @@ views:
gradient: true
titles:
primary: RAM
gradient_resolution: high
primary_color: |-
{% if states(entity) | int >= 90 %}
var(--error-color)
{% else %}
var(--primary-text-color)
{% endif %}
gradient_resolution: auto
value_texts:
primary: |
{% if states(entity) | int >= 90 %}
@@ -4109,6 +4155,19 @@ views:
{% else %}
{{ states(entity) | int }}
{% endif %}
primary_color: |-
{% if states(entity) | int >= 90 %}
var(--error-color)
{% else %}
var(--primary-text-color)
{% endif %}
secondary_color: |
{% if states(entity2) | int >= 95 %}
var(--error-color)
{% else %}
var(--primary-text-color)
{% endif %}
round: small
- type: custom:gauge-card-pro
entity: sensor.kallen_desktop_gpu_vram_usage
segments:
@@ -4122,7 +4181,13 @@ views:
gradient: true
titles:
primary: VRAM
gradient_resolution: high
primary_color: |-
{% if states(entity) | int >= 90 %}
var(--error-color)
{% else %}
var(--primary-text-color)
{% endif %}
gradient_resolution: auto
value_texts:
primary: |
{% if states(entity) | int >= 90 %}
@@ -4130,6 +4195,19 @@ views:
{% else %}
{{ states(entity) | int }}
{% endif %}
primary_color: |-
{% if states(entity) | int >= 90 %}
var(--error-color)
{% else %}
var(--primary-text-color)
{% endif %}
secondary_color: |
{% if states(entity2) | int >= 95 %}
var(--error-color)
{% else %}
var(--primary-text-color)
{% endif %}
round: small
visibility:
- condition: and
conditions:
@@ -4690,6 +4768,12 @@ views:
gradient: true
titles:
primary: Tony Desktop
primary_color: |-
{% if states(entity) | int >= 650 %}
var(--error-color)
{% else %}
var(--primary-text-color)
{% endif %}
value_texts:
primary: |
{% if states(entity) | int < 10 %}
@@ -4699,7 +4783,14 @@ views:
{% else %}
{{ states(entity) | int }}
{% endif %}
gradient_resolution: high
primary_color: |-
{% if states(entity) | int >= 650 %}
var(--error-color)
{% else %}
var(--primary-text-color)
{% endif %}
gradient_resolution: auto
round: small
- type: custom:gauge-card-pro
entity: sensor.tina_desktop_power
segments:
@@ -4715,6 +4806,12 @@ views:
gradient: true
titles:
primary: Tina Desktop
primary_color: |-
{% if states(entity) | int >= 650 %}
var(--error-color)
{% else %}
var(--primary-text-color)
{% endif %}
value_texts:
primary: |
{% if states(entity) | int < 10 %}
@@ -4724,7 +4821,14 @@ views:
{% else %}
{{ states(entity) | int }}
{% endif %}
gradient_resolution: high
primary_color: |-
{% if states(entity) | int >= 650 %}
var(--error-color)
{% else %}
var(--primary-text-color)
{% endif %}
gradient_resolution: auto
round: small
- type: horizontal-stack
cards:
- type: custom:gauge-card-pro
@@ -4742,6 +4846,12 @@ views:
gradient: true
titles:
primary: Kallen Desktop
primary_color: |-
{% if states(entity) | int >= 450 %}
var(--error-color)
{% else %}
var(--primary-text-color)
{% endif %}
value_texts:
primary: |
{% if states(entity) | int < 10 %}
@@ -4751,7 +4861,14 @@ views:
{% else %}
{{ states(entity) | int }}
{% endif %}
gradient_resolution: high
primary_color: |-
{% if states(entity) | int >= 450 %}
var(--error-color)
{% else %}
var(--primary-text-color)
{% endif %}
gradient_resolution: auto
round: small
- type: custom:gauge-card-pro
entity: sensor.basement_server_power
segments:
@@ -4767,6 +4884,12 @@ views:
gradient: true
titles:
primary: Basement Server
primary_color: |-
{% if states(entity) | int >= 550 %}
var(--error-color)
{% else %}
var(--primary-text-color)
{% endif %}
value_texts:
primary: |
{% if states(entity) | int < 10 %}
@@ -4776,7 +4899,14 @@ views:
{% else %}
{{ states(entity) | int }}
{% endif %}
gradient_resolution: high
primary_color: |-
{% if states(entity) | int >= 550 %}
var(--error-color)
{% else %}
var(--primary-text-color)
{% endif %}
gradient_resolution: auto
round: small
- type: grid
cards:
- type: heading
@@ -4824,6 +4954,12 @@ views:
gradient: true
titles:
primary: CPU
primary_color: |-
{% if states(entity) | int >= 90 %}
var(--error-color)
{% else %}
var(--primary-text-color)
{% endif %}
entity2: sensor.tony_asus_cpu_temperature
min: 0
max: 100
@@ -4839,8 +4975,9 @@ views:
- from: 95
color: var(--error-color)
gradient: true
gradient_resolution: high
gradient_resolution: high
gradient_resolution: auto
round: small
gradient_resolution: auto
value_texts:
primary: |
{% if states(entity) | int >= 90 %}
@@ -4854,6 +4991,19 @@ views:
{% else %}
{{ states(entity2) | int }}
{% endif %}
primary_color: |-
{% if states(entity) | int >= 90 %}
var(--error-color)
{% else %}
var(--primary-text-color)
{% endif %}
secondary_color: |
{% if states(entity2) | int >= 95 %}
var(--error-color)
{% else %}
var(--primary-text-color)
{% endif %}
round: small
- type: custom:gauge-card-pro
entity: sensor.tony_asus_gpu_core_load
segments:
@@ -4867,6 +5017,12 @@ views:
gradient: true
titles:
primary: GPU
primary_color: |-
{% if states(entity) | int >= 90 %}
var(--error-color)
{% else %}
var(--primary-text-color)
{% endif %}
entity2: sensor.tony_asus_gpu_temperature
min: 0
max: 100
@@ -4882,8 +5038,9 @@ views:
- from: 85
color: var(--error-color)
gradient: true
gradient_resolution: high
gradient_resolution: high
gradient_resolution: auto
round: small
gradient_resolution: auto
value_texts:
primary: |
{% if states(entity) | int >= 90 %}
@@ -4897,6 +5054,19 @@ views:
{% else %}
{{ states(entity2) | int }}
{% endif %}
primary_color: |-
{% if states(entity) | int >= 90 %}
var(--error-color)
{% else %}
var(--primary-text-color)
{% endif %}
secondary_color: |
{% if states(entity2) | int >= 95 %}
var(--error-color)
{% else %}
var(--primary-text-color)
{% endif %}
round: small
visibility:
- condition: and
conditions:
@@ -4952,7 +5122,13 @@ views:
gradient: true
titles:
primary: RAM
gradient_resolution: high
primary_color: |-
{% if states(entity) | int >= 90 %}
var(--error-color)
{% else %}
var(--primary-text-color)
{% endif %}
gradient_resolution: auto
value_texts:
primary: |
{% if states(entity) | int >= 90 %}
@@ -4960,6 +5136,19 @@ views:
{% else %}
{{ states(entity) | int }}
{% endif %}
primary_color: |-
{% if states(entity) | int >= 90 %}
var(--error-color)
{% else %}
var(--primary-text-color)
{% endif %}
secondary_color: |
{% if states(entity2) | int >= 95 %}
var(--error-color)
{% else %}
var(--primary-text-color)
{% endif %}
round: small
- type: custom:gauge-card-pro
entity: sensor.tony_asus_gpu_vram_usage
segments:
@@ -4973,7 +5162,13 @@ views:
gradient: true
titles:
primary: VRAM
gradient_resolution: high
primary_color: |-
{% if states(entity) | int >= 90 %}
var(--error-color)
{% else %}
var(--primary-text-color)
{% endif %}
gradient_resolution: auto
value_texts:
primary: |
{% if states(entity) | int >= 90 %}
@@ -4981,6 +5176,19 @@ views:
{% else %}
{{ states(entity) | int }}
{% endif %}
primary_color: |-
{% if states(entity) | int >= 90 %}
var(--error-color)
{% else %}
var(--primary-text-color)
{% endif %}
secondary_color: |
{% if states(entity2) | int >= 95 %}
var(--error-color)
{% else %}
var(--primary-text-color)
{% endif %}
round: small
visibility:
- condition: and
conditions:
@@ -5167,6 +5375,12 @@ views:
gradient: true
titles:
primary: CPU
primary_color: |-
{% if states(entity) | int >= 90 %}
var(--error-color)
{% else %}
var(--primary-text-color)
{% endif %}
entity2: sensor.xia_desktop_cpu_temperature
min: 0
max: 100
@@ -5182,8 +5396,9 @@ views:
- from: 95
color: var(--error-color)
gradient: true
gradient_resolution: high
gradient_resolution: high
gradient_resolution: auto
round: small
gradient_resolution: auto
value_texts:
primary: |
{% if states(entity) | int >= 90 %}
@@ -5197,6 +5412,19 @@ views:
{% else %}
{{ states(entity2) | int }}
{% endif %}
primary_color: |-
{% if states(entity) | int >= 90 %}
var(--error-color)
{% else %}
var(--primary-text-color)
{% endif %}
secondary_color: |
{% if states(entity2) | int >= 95 %}
var(--error-color)
{% else %}
var(--primary-text-color)
{% endif %}
round: small
- type: custom:gauge-card-pro
entity: sensor.xia_desktop_gpu_core_load
segments:
@@ -5210,6 +5438,12 @@ views:
gradient: true
titles:
primary: GPU
primary_color: |-
{% if states(entity) | int >= 90 %}
var(--error-color)
{% else %}
var(--primary-text-color)
{% endif %}
entity2: sensor.xia_desktop_gpu_temperature
min: 0
max: 100
@@ -5225,8 +5459,9 @@ views:
- from: 85
color: var(--error-color)
gradient: true
gradient_resolution: high
gradient_resolution: high
gradient_resolution: auto
round: small
gradient_resolution: auto
value_texts:
primary: |
{% if states(entity) | int >= 90 %}
@@ -5240,6 +5475,19 @@ views:
{% else %}
{{ states(entity2) | int }}
{% endif %}
primary_color: |-
{% if states(entity) | int >= 90 %}
var(--error-color)
{% else %}
var(--primary-text-color)
{% endif %}
secondary_color: |
{% if states(entity2) | int >= 95 %}
var(--error-color)
{% else %}
var(--primary-text-color)
{% endif %}
round: small
visibility:
- condition: and
conditions:
@@ -5295,7 +5543,13 @@ views:
gradient: true
titles:
primary: RAM
gradient_resolution: high
primary_color: |-
{% if states(entity) | int >= 90 %}
var(--error-color)
{% else %}
var(--primary-text-color)
{% endif %}
gradient_resolution: auto
value_texts:
primary: |
{% if states(entity) | int >= 90 %}
@@ -5303,6 +5557,19 @@ views:
{% else %}
{{ states(entity) | int }}
{% endif %}
primary_color: |-
{% if states(entity) | int >= 90 %}
var(--error-color)
{% else %}
var(--primary-text-color)
{% endif %}
secondary_color: |
{% if states(entity2) | int >= 95 %}
var(--error-color)
{% else %}
var(--primary-text-color)
{% endif %}
round: small
- type: custom:gauge-card-pro
entity: sensor.xia_desktop_gpu_vram_usage
segments:
@@ -5316,7 +5583,13 @@ views:
gradient: true
titles:
primary: VRAM
gradient_resolution: high
primary_color: |-
{% if states(entity) | int >= 90 %}
var(--error-color)
{% else %}
var(--primary-text-color)
{% endif %}
gradient_resolution: auto
value_texts:
primary: |
{% if states(entity) | int >= 90 %}
@@ -5324,6 +5597,19 @@ views:
{% else %}
{{ states(entity) | int }}
{% endif %}
primary_color: |-
{% if states(entity) | int >= 90 %}
var(--error-color)
{% else %}
var(--primary-text-color)
{% endif %}
secondary_color: |
{% if states(entity2) | int >= 95 %}
var(--error-color)
{% else %}
var(--primary-text-color)
{% endif %}
round: small
visibility:
- condition: and
conditions:
@@ -5496,6 +5782,12 @@ views:
gradient: true
titles:
primary: CPU
primary_color: |-
{% if states(entity) | int >= 90 %}
var(--error-color)
{% else %}
var(--primary-text-color)
{% endif %}
entity2: sensor.asus_laptop_cpu_temperature
min: 0
max: 100
@@ -5511,8 +5803,9 @@ views:
- from: 95
color: var(--error-color)
gradient: true
gradient_resolution: high
gradient_resolution: high
gradient_resolution: auto
round: small
gradient_resolution: auto
value_texts:
primary: |
{% if states(entity) | int >= 90 %}
@@ -5526,6 +5819,19 @@ views:
{% else %}
{{ states(entity2) | int }}
{% endif %}
primary_color: |-
{% if states(entity) | int >= 90 %}
var(--error-color)
{% else %}
var(--primary-text-color)
{% endif %}
secondary_color: |
{% if states(entity2) | int >= 95 %}
var(--error-color)
{% else %}
var(--primary-text-color)
{% endif %}
round: small
- type: custom:gauge-card-pro
entity: sensor.asus_laptop_gpu_core_load
segments:
@@ -5539,6 +5845,12 @@ views:
gradient: true
titles:
primary: GPU
primary_color: |-
{% if states(entity) | int >= 90 %}
var(--error-color)
{% else %}
var(--primary-text-color)
{% endif %}
entity2: sensor.asus_laptop_gpu_temperature
min: 0
max: 100
@@ -5554,8 +5866,9 @@ views:
- from: 85
color: var(--error-color)
gradient: true
gradient_resolution: high
gradient_resolution: high
gradient_resolution: auto
round: small
gradient_resolution: auto
value_texts:
primary: |
{% if states(entity) | int >= 90 %}
@@ -5569,6 +5882,19 @@ views:
{% else %}
{{ states(entity2) | int }}
{% endif %}
primary_color: |-
{% if states(entity) | int >= 90 %}
var(--error-color)
{% else %}
var(--primary-text-color)
{% endif %}
secondary_color: |
{% if states(entity2) | int >= 95 %}
var(--error-color)
{% else %}
var(--primary-text-color)
{% endif %}
round: small
visibility:
- condition: and
conditions:
@@ -5608,7 +5934,13 @@ views:
gradient: true
titles:
primary: RAM
gradient_resolution: high
primary_color: |-
{% if states(entity) | int >= 90 %}
var(--error-color)
{% else %}
var(--primary-text-color)
{% endif %}
gradient_resolution: auto
value_texts:
primary: |
{% if states(entity) | int >= 90 %}
@@ -5616,6 +5948,19 @@ views:
{% else %}
{{ states(entity) | int }}
{% endif %}
primary_color: |-
{% if states(entity) | int >= 90 %}
var(--error-color)
{% else %}
var(--primary-text-color)
{% endif %}
secondary_color: |
{% if states(entity2) | int >= 95 %}
var(--error-color)
{% else %}
var(--primary-text-color)
{% endif %}
round: small
- type: custom:gauge-card-pro
entity: sensor.asus_laptop_gpu_vram_usage
segments:
@@ -5629,7 +5974,13 @@ views:
gradient: true
titles:
primary: VRAM
gradient_resolution: high
primary_color: |-
{% if states(entity) | int >= 90 %}
var(--error-color)
{% else %}
var(--primary-text-color)
{% endif %}
gradient_resolution: auto
value_texts:
primary: |
{% if states(entity) | int >= 90 %}
@@ -5637,6 +5988,19 @@ views:
{% else %}
{{ states(entity) | int }}
{% endif %}
primary_color: |-
{% if states(entity) | int >= 90 %}
var(--error-color)
{% else %}
var(--primary-text-color)
{% endif %}
secondary_color: |
{% if states(entity2) | int >= 95 %}
var(--error-color)
{% else %}
var(--primary-text-color)
{% endif %}
round: small
visibility:
- condition: or
conditions: