Gauge Card disappears with Card Modder
JareckiB12 opened this issue · 4 comments
JareckiB12 commented
Gauge type card disappears with card modder. No errors in console.
If I import as js, the same problem occurs
ui-lovelace.yaml:
title: HAL 9000
#panel: true
resources:
- url: /local/layout-card.js
type: js
- url: /local/card-modder.js
type: module
views:
- title: Dom
id: dom
icon: mdi:home
cards:
- type: horizontal-stack
cards:
- type: custom:card-modder
style:
border-radius: 5px
card:
id: temperatura_zachod
title: Zachód
type: gauge
min: -30
max: 50
severity:
green: 15
yellow: 25
red: 35
entity: sensor.temperature_158d0001d36d02
- id: wilgotnosc_zachod
title: Zachód
type: gauge
min: 0
max: 100
severity:
green: 40
yellow: 60
red: 80
entity: sensor.humidity_158d0001d36d02
Pre10der commented
I too am experiencing this.
- type: horizontal-stack
cards:
- type: custom:card-modder
card:
type: gauge
title: Memory Usage
unit_of_measurement: '%'
entity: sensor.disk_use_percent_
severity:
green: 0
yellow: 55
red: 85
style:
color: "#343434"
border-radius: 10px
background-color: rgba(255,255,255,0.75)
box-shadow: 3px 3px rgba(255,255,255,0.4)
border: solid 1px rgba(100,100,100,0.3)
- type: custom:card-modder
card:
type: sensor
entity: sensor.disk_use_percent_
name: Memory History
height: 75
hours_to_show: 12
line_color: "#3498db"
style:
color: "#343434"
border-radius: 10px
background-color: rgba(255,255,255,0.75)
box-shadow: 3px 3px rgba(255,255,255,0.4)
border: solid 1px rgba(100,100,100,0.3)
JareckiB12 commented
Works! Thank You
Pre10der commented
This appears to be happening again, but only on iOS (12.1.2)? Can anyone else replicate this?
thomasloven commented
Can't reproduce.
Please open a new issue with more information.