Skip to content

Commit

Permalink
Minor tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
thijsputman committed Dec 24, 2023
1 parent f0e7ad7 commit ace75a1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion extras/esphome/m5stack-atom-lite.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ substitutions:
friendly_name: M5Stack Atom Lite
packages:
esphome.bluetooth-proxy: >-
github://esphome/bluetooth-proxies/m5stack-atom-lite.yaml@main
github://esphome/firmware/bluetooth-proxy/m5stack-atom-lite.yaml@main
esphome:
name: ${name}
name_add_mac_suffix: true
Expand Down
2 changes: 1 addition & 1 deletion lovelace/home/network/ha_yellow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ card:
<ha-alert alert-type="warning">**{{ device_attr(update_id,
'name') }}** requires a restart.</ha-alert>
{%- endif %}
{% if states('sensor.pi4_status') != 'running' -%}
{% if states('sensor.ha_yellow_status') != 'running' -%}
<ha-alert alert-type="error">systemd reports **{{-
device_attr(update_id, 'name') }}** is _{{-
states('sensor.pi4_status')}}_!</ha-alert>
Expand Down
10 changes: 5 additions & 5 deletions lovelace/home/network/sbc/status.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ cards:
div.warning, div.error{
margin-bottom: 6px;
}
content: >-
content: |
{%
set updates=expand('group.sbc_apt') |
selectattr('state', 'eq', 'on') | list | length
Expand Down Expand Up @@ -43,10 +43,10 @@ cards:
{%- endfor -%}
<br/>
{% endif %}
## <ha-icon icon="mdi:package-variant-closed-plus"></ha-icon>
**{{ updates if updates > 0 else 'no' }}
{{ 'devices** have' if updates != 1 else 'device** has' }}
package upgrades available
## <ha-icon icon="mdi:package-variant-closed-plus"></ha-icon> **{{-
updates if updates > 0 else 'no' }} {{
'devices** have' if updates != 1 else 'device** has'
-}} package upgrades available
- type: custom:auto-entities
card:
type: grid
Expand Down

0 comments on commit ace75a1

Please sign in to comment.