Tigeruno
(Tigeruno)
March 7, 2025, 8:35pm
21
Chrome Version 133.0.6943.142 (Official Build) (64-bit)
HA
Core2025.3.0
Supervisor2025.03.2
Operating System14.2
Frontend20250305.0
HACS 2.0.5
I just ran out of my 20 allotted posts. So try here.
This is a small clip of the yaml to see if anything jumps out at you?
I’m out of posts, should be upgraded around 11am today CST.
No idea, honestly.
I only see these “custom card not found” errors on an old iPhone 5S. And just for SOME custom cards.
(and of course these errors are shown when HA is rebooting)
Using HACS only.
Post a code from the 1st line to the last line of stack-in-card.
Tigeruno
(Tigeruno)
March 11, 2025, 3:01pm
24
type: vertical-stack
cards:
- type: custom:stack-in-card
keep:
margin: false
box_shadow: false
background: false
cards:
- type: grid
square: false
columns: 1
cards:
- type: markdown
content: >-
<center><font size=4>Total runtime: <b> <font
color=#41CD52>{{states('sensor.jk_bms_total_runtime_formatted')}}
card_mod:
style: |
ha-card {
box-shadow: none;
background: rgba(0,0,0,0);
border: white solid 1px !important;
}
- type: custom:stack-in-card
keep:
margin: false
box_shadow: false
background: false
cards:
- type: grid
square: false
columns: 3
cards:
- type: markdown
content: >-
<center><font size=4>Charge: <b>{% if
states('binary_sensor.jk_bms_charging') == 'on' %} <font
color=#41CD52>{{ states('binary_sensor.jk_bms_charging') | upper
}}</font> {% else %} <font color=red>{{
states('binary_sensor.jk_bms_charging') | upper }}</font> {% endif
%}
- type: markdown
content: >-
<center><font size=3>Discharge: <b> {% if
states('binary_sensor.jk_bms_discharging') == 'on' %} <font
color=#41CD52>{{ states('binary_sensor.jk_bms_discharging') |
upper }}</font> {% else %} <font color=red>{{
states('binary_sensor.jk_bms_discharging') | upper }}</font> {%
endif %}
- type: markdown
content: >-
<center><font size=4>Balance: <b> {% if
states('binary_sensor.jk_bms_balancing') == 'on' %} <font
color=#41CD52>{{ states('binary_sensor.jk_bms_balancing') | upper
}}</font> {% else %} <font color=red>{{
states('binary_sensor.jk_bms_balancing') | upper }}</font> {%
endif %}
card_mod:
style: |
ha-card {
box-shadow: none;
background: rgba(0,0,0,0);
border: white solid 1px !important;
}
- type: vertical-stack
cards:
- type: horizontal-stack
cards:
- type: vertical-stack
cards:
- type: vertical-stack
cards:
- type: entity
style: |
ha-card {
color: #18f50c;
box-shadow: none;
background: rgba(0,0,0,0);
border: white solid 1px !important;
}
entity: sensor.jk_bms_total_voltage
name: Total voltage
icon: mdi:battery
- type: entities
style: |
ha-card {
color: #18f50c;
box-shadow: none;
background: rgba(0,0,0,0);
border: white solid 1px !important;
}
entities:
- entity: sensor.jk_bms_power
name: Power
card_mod:
style:
hui-generic-entity-row:
$: |
state-badge {
display: none;
}
.info {
margin-left:0 !important;
Color: white;
}
- entity: sensor.jk_bms_total_battery_capacity_setting
name: Capacity
card_mod:
style:
hui-generic-entity-row:
$: |
state-badge {
display: none;
}
.info {
margin-left:0 !important;
Color: white;
}
- entity: sensor.jk_bms_total_charging_cycle_capacity
name: Cycle capacity
card_mod:
style:
hui-generic-entity-row:
$: |
state-badge {
display: none;
}
.info {
margin-left:0 !important;
Color: white;
}
- entity: sensor.jk_bms_average_cell_voltage
name: Average cell voltage
card_mod:
style:
hui-generic-entity-row:
$: |
state-badge {
display: none;
}
.info {
margin-left:0 !important;
Color: white;
}
- entity: sensor.jk_bms_balancing_current
name: Balance current
card_mod:
style:
hui-generic-entity-row:
$: |
state-badge {
display: none;
}
.info {
margin-left:0 !important;
Color: white;
}
- entity: sensor.jk_bms_temperature_sensor_2
name: Battery T2
card_mod:
style:
hui-generic-entity-row:
$: |
state-badge {
display: none;
}
.info {
margin-left:0 !important;
Color: white;
}
- type: vertical-stack
cards:
- type: vertical-stack
cards:
- type: entity
entity: sensor.jk_bms_current
style: |
ha-card {
color: #18f50c;
box-shadow: none;
background: rgba(0,0,0,0);
border: white solid 1px !important;
}
- type: entities
style: |
ha-card {
color: #18f50c;
box-shadow: none;
background: rgba(0,0,0,0);
border: white solid 1px !important;
}
entities:
- entity: sensor.jk_bms_state_of_charge
name: Remaining %
card_mod:
style:
hui-generic-entity-row:
$: |
state-badge {
display: none;
}
.info {
margin-left:0 !important;
Color: white;
}
- entity: sensor.jk_bms_capacity_remaining
name: Remaining capacity
card_mod:
style:
hui-generic-entity-row:
$: |
state-badge {
display: none;
}
.info {
margin-left:0 !important;
Color: white;
}
- entity: sensor.jk_bms_charging_cycles
name: Cycle count
card_mod:
style:
hui-generic-entity-row:
$: |
state-badge {
display: none;
}
.info {
margin-left:0 !important;
Color: white;
}
- entity: sensor.jk_bms_delta_cell_voltage
name: Cell Vol diff.
card_mod:
style:
hui-generic-entity-row:
$: |
state-badge {
display: none;
}
.info {
margin-left:0 !important;
Color: white;
}
- entity: sensor.jk_bms_temperature_sensor_1
name: Battery T1
card_mod:
style:
hui-generic-entity-row:
$: |
state-badge {
display: none;
}
.info {
margin-left:0 !important;
Color: white;
}
- entity: sensor.jk_bms_power_tube_temperature
name: MOS Temp
card_mod:
style:
hui-generic-entity-row:
$: |
state-badge {
display: none;
}
.info {
margin-left:0 !important;
Color: white;
}
- square: false
type: grid
cards:
- type: grid
cards:
- type: markdown
content: |2-
<center><font color="#18f50c"><font size=3>01. {% if
states('sensor.jk_bms_max_voltage_cell') == '1' %} <font
color="#3090C7">{{ states('sensor.jk_bms_cell_voltage_1') }}
V</font> {% elif states('sensor.jk_bms_min_voltage_cell') ==
'1' %} <font color="orange">{{
states('sensor.jk_bms_cell_voltage_1') }} V</font> {% else %}
{{ states('sensor.jk_bms_cell_voltage_1') }} V {% endif %}
<br>
02. {% if
states('sensor.jk_bms_max_voltage_cell') == '2' %} <font
color="#3090C7">{{ states('sensor.jk_bms_cell_voltage_2') }}
V</font> {% elif states('sensor.jk_bms_min_voltage_cell') ==
'2' %} <font color="orange">{{
states('sensor.jk_bms_cell_voltage_2') }} V</font> {% else %}
{{ states('sensor.jk_bms_cell_voltage_2') }} V {% endif %}<br>
03. {% if
states('sensor.jk_bms_max_voltage_cell') == '3' %} <font
color="#3090C7">{{ states('sensor.jk_bms_cell_voltage_3') }}
V</font> {% elif states('sensor.jk_bms_min_voltage_cell') ==
'3' %} <font color="orange">{{
states('sensor.jk_bms_cell_voltage_3') }} V</font> {% else %}
{{ states('sensor.jk_bms_cell_voltage_3') }} V {% endif %}
<br>
04. {% if
states('sensor.jk_bms_max_voltage_cell') == '4' %} <font
color="#3090C7">{{ states('sensor.jk_bms_cell_voltage_4') }}
V</font> {% elif states('sensor.jk_bms_min_voltage_cell') ==
'4' %} <font color="orange">{{
states('sensor.jk_bms_cell_voltage_4') }} V</font> {% else %}
{{ states('sensor.jk_bms_cell_voltage_4') }} V {% endif %}
<br>
05. {% if
states('sensor.jk_bms_max_voltage_cell') == '5' %} <font
color="#3090C7">{{ states('sensor.jk_bms_cell_voltage_5') }}
V</font> {% elif states('sensor.jk_bms_min_voltage_cell') ==
'5' %} <font color="orange">{{
states('sensor.jk_bms_cell_voltage_5') }} V</font> {% else %}
{{ states('sensor.jk_bms_cell_voltage_5') }} V {% endif %}
<br>
06. {% if
states('sensor.jk_bms_max_voltage_cell') == '6' %} <font
color="#3090C7">{{ states('sensor.jk_bms_cell_voltage_6') }}
V</font> {% elif states('sensor.jk_bms_min_voltage_cell') ==
'6' %} <font color="orange">{{
states('sensor.jk_bms_cell_voltage_6') }} V</font> {% else %}
{{ states('sensor.jk_bms_cell_voltage_6') }} V {% endif %}
<br>
card_mod:
style: |
ha-card {
box-shadow: none;
background: rgba(0,0,0,0);
border: white solid 1px !important;
}
- type: markdown
content: |2-
<center><font color="#18f50c"><font size=3>07. {% if
states('sensor.jk_bms_max_voltage_cell') == '7' %} <font
color="#3090C7">{{ states('sensor.jk_bms_cell_voltage_7') }}
V</font> {% elif states('sensor.jk_bms_min_voltage_cell') ==
'7' %} <font color="orange">{{
states('sensor.jk_bms_cell_voltage_7') }} V</font> {% else %}
{{ states('sensor.jk_bms_cell_voltage_7') }} V {% endif %}
<br>
08. {% if
states('sensor.jk_bms_max_voltage_cell') == '8' %} <font
color="#3090C7">{{ states('sensor.jk_bms_cell_voltage_8') }}
V</font> {% elif states('sensor.jk_bms_min_voltage_cell') ==
'8' %} <font color="orange">{{
states('sensor.jk_bms_cell_voltage_8') }} V</font> {% else %}
{{ states('sensor.jk_bms_cell_voltage_8') }} V {% endif %}<br>
09. {% if
states('sensor.jk_bms_max_voltage_cell') == '9' %} <font
color="#3090C7">{{ states('sensor.jk_bms_cell_voltage_9') }}
V</font> {% elif states('sensor.jk_bms_min_voltage_cell') ==
'9' %} <font color="orange">{{
states('sensor.jk_bms_cell_voltage_9') }} V</font> {% else %}
{{ states('sensor.jk_bms_cell_voltage_9') }} V {% endif %}
<br>
10. {% if
states('sensor.jk_bms_max_voltage_cell') == '10' %} <font
color="#3090C7">{{ states('sensor.jk_bms_cell_voltage_10') }}
V</font> {% elif states('sensor.jk_bms_min_voltage_cell') ==
'10' %} <font color="orange">{{
states('sensor.jk_bms_cell_voltage_10') }} V</font> {% else %}
{{ states('sensor.jk_bms_cell_voltage_10') }} V {% endif %}
<br>
11. {% if
states('sensor.jk_bms_max_voltage_cell') == '11' %} <font
color="#3090C7">{{ states('sensor.jk_bms_cell_voltage_11') }}
V</font> {% elif states('sensor.jk_bms_min_voltage_cell') ==
'11' %} <font color="orange">{{
states('sensor.jk_bms_cell_voltage_11') }} V</font> {% else %}
{{ states('sensor.jk_bms_cell_voltage_11') }} V {% endif %}
<br>
12. {% if
states('sensor.jk_bms_max_voltage_cell') == '12' %} <font
color="#3090C7">{{ states('sensor.jk_bms_cell_voltage_12') }}
V</font> {% elif states('sensor.jk_bms_min_voltage_cell') ==
'12' %} <font color="orange">{{
states('sensor.jk_bms_cell_voltage_12') }} V</font> {% else %}
{{ states('sensor.jk_bms_cell_voltage_12') }} V {% endif %}
<br>
card_mod:
style: |
ha-card {
box-shadow: none;
background: rgba(0,0,0,0);
border: white solid 1px !important;
}
- type: markdown
content: |2-
<center><font color="#18f50c"><font size=3>13. {% if
states('sensor.jk_bms_max_voltage_cell') == '13' %} <font
color="#3090C7">{{ states('sensor.jk_bms_cell_voltage_13') }}
V</font> {% elif states('sensor.jk_bms_min_voltage_cell') ==
'13' %} <font color="orange">{{
states('sensor.jk_bms_cell_voltage_13') }} V</font> {% else %}
{{ states('sensor.jk_bms_cell_voltage_13') }} V {% endif %}
<br>
14. {% if
states('sensor.jk_bms_max_voltage_cell') == '14' %} <font
color="#3090C7">{{ states('sensor.jk_bms_cell_voltage_14') }}
V</font> {% elif states('sensor.jk_bms_min_voltage_cell') ==
'14' %} <font color="orange">{{
states('sensor.jk_bms_cell_voltage_14') }} V</font> {% else %}
{{ states('sensor.jk_bms_cell_voltage_14') }} V {% endif %}<br>
15. {% if
states('sensor.jk_bms_max_voltage_cell') == '15' %} <font
color="#3090C7">{{ states('sensor.jk_bms_cell_voltage_15') }}
V</font> {% elif states('sensor.jk_bms_min_voltage_cell') ==
'15' %} <font color="orange">{{
states('sensor.jk_bms_cell_voltage_15') }} V</font> {% else %}
{{ states('sensor.jk_bms_cell_voltage_15') }} V {% endif %}
<br>
16. {% if
states('sensor.jk_bms_max_voltage_cell') == '16' %} <font
color="#3090C7">{{ states('sensor.jk_bms_cell_voltage_16') }}
V</font> {% elif states('sensor.jk_bms_min_voltage_cell') ==
'16' %} <font color="orange">{{
states('sensor.jk_bms_cell_voltage_16') }} V</font> {% else %}
{{ states('sensor.jk_bms_cell_voltage_16') }} V {% endif %}
<br>
card_mod:
style: |
ha-card {
box-shadow: none;
background: rgba(0,0,0,0);
border: white solid 1px !important;
}
- type: grid
cards:
- type: entities
style: |
ha-card {
color: #18f50c;
box-shadow: none;
background: rgba(0,0,0,0);
border: white solid 1px !important;
}
entities:
- entity: sensor.jk_bms_cell_resistance_1
name: 1
card_mod:
style:
hui-generic-entity-row:
$: |
state-badge {
display: none;
}
.info {
margin-left:12 !important;
Color: lime;
}
- entity: sensor.jk_bms_cell_resistance_2
name: 2
card_mod:
style:
hui-generic-entity-row:
$: |
state-badge {
display: none;
}
.info {
margin-left:12 !important;
Color: lime;
}
- entity: sensor.jk_bms_cell_resistance_3
name: 3
card_mod:
style:
hui-generic-entity-row:
$: |
state-badge {
display: none;
}
.info {
margin-left:12 !important;
Color: lime;
}
- entity: sensor.jk_bms_cell_resistance_4
name: 4
card_mod:
style:
hui-generic-entity-row:
$: |
state-badge {
display: none;
}
.info {
margin-left:12 !important;
Color: lime;
}
- entity: sensor.jk_bms_cell_resistance_5
name: 5
card_mod:
style:
hui-generic-entity-row:
$: |
state-badge {
display: none;
}
.info {
margin-left:12 !important;
Color: lime;
}
- entity: sensor.jk_bms_cell_resistance_6
name: 6
card_mod:
style:
hui-generic-entity-row:
$: |
state-badge {
display: none;
}
.info {
margin-left:12 !important;
Color: lime;
}
- type: entities
style: |
ha-card {
color: #18f50c;
box-shadow: none;
background: rgba(0,0,0,0);
border: white solid 1px !important;
}
entities:
- entity: sensor.jk_bms_cell_resistance_7
name: 7
card_mod:
style:
hui-generic-entity-row:
$: |
state-badge {
display: none;
}
.info {
margin-left:12 !important;
Color: lime;
}
- entity: sensor.jk_bms_cell_resistance_8
name: 8
card_mod:
style:
hui-generic-entity-row:
$: |
state-badge {
display: none;
}
.info {
margin-left:12 !important;
Color: lime;
}
- entity: sensor.jk_bms_cell_resistance_9
name: 9
card_mod:
style:
hui-generic-entity-row:
$: |
state-badge {
display: none;
}
.info {
margin-left:12 !important;
Color: lime;
}
- entity: sensor.jk_bms_cell_resistance_10
name: 10
card_mod:
style:
hui-generic-entity-row:
$: |
state-badge {
display: none;
}
.info {
margin-left:12 !important;
Color: lime;
}
- entity: sensor.jk_bms_cell_resistance_11
name: 11
card_mod:
style:
hui-generic-entity-row:
$: |
state-badge {
display: none;
}
.info {
margin-left:12 !important;
Color: lime;
}
- entity: sensor.jk_bms_cell_resistance_12
name: 12
card_mod:
style:
hui-generic-entity-row:
$: |
state-badge {
display: none;
}
.info {
margin-left:12 !important;
Color: lime;
}
- type: entities
style: |
ha-card {
color: #18f50c;
box-shadow: none;
background: rgba(0,0,0,0);
border: white solid 1px !important;
}
entities:
- entity: sensor.jk_bms_cell_resistance_13
name: 13
card_mod:
style:
hui-generic-entity-row:
$: |
state-badge {
display: none;
}
.info {
margin-left:12 !important;
Color: lime;
}
- entity: sensor.jk_bms_cell_resistance_14
name: 14
card_mod:
style:
hui-generic-entity-row:
$: |
state-badge {
display: none;
}
.info {
margin-left:12 !important;
Color: lime;
}
- entity: sensor.jk_bms_cell_resistance_15
name: 15
card_mod:
style:
hui-generic-entity-row:
$: |
state-badge {
display: none;
}
.info {
margin-left:12 !important;
Color: lime;
}
- entity: sensor.jk_bms_cell_resistance_16
name: 16
card_mod:
style:
hui-generic-entity-row:
$: |
state-badge {
display: none;
}
.info {
margin-left:12 !important;
Color: lime;
}
columns: 1
Ok, I am far from PC, will check it in a week!