Replace dummy-entity-row with template-entity-row

This commit is contained in:
2021-10-08 12:10:38 +03:00
parent 5348beb7bd
commit f0e6c75bde
7 changed files with 12 additions and 20 deletions

View File

@@ -24,8 +24,7 @@ cards:
title: Misc
show_header_toggle: false
entities:
- type: custom:dummy-entity-row
entity: sensor.automations_count
- type: custom:template-entity-row
name: Reload Automations
icon: mdi:reload
tap_action:

View File

@@ -9,15 +9,13 @@ network_card:
title: "[[title]]"
icon: "[[icon]]"
entities:
- type: custom:dummy-entity-row
entity: sensor.fast_com_download
- type: custom:template-entity-row
name: Open network tab
icon: mdi:server-network
tap_action:
action: navigate
navigation_path: /lovelace-main/network
- type: custom:dummy-entity-row
entity: sensor.fast_com_download
- type: custom:template-entity-row
name: Open admin UI
icon: mdi:firefox
tap_action:

View File

@@ -37,8 +37,7 @@ philips_airpurifier_card:
entities:
- type: custom:fold-entity-row
head:
type: custom:dummy-entity-row
entity: sensor.purifier_air_quality
type: custom:template-entity-row
name: Sensors
icon: mdi:air-purifier
open: true
@@ -50,8 +49,7 @@ philips_airpurifier_card:
- binary_sensor.purifier_out_of_water
- type: custom:fold-entity-row
head:
type: custom:dummy-entity-row
entity: sensor.purifier_speed
type: custom:template-entity-row
name: Attributes
open: true
entities:
@@ -66,8 +64,7 @@ philips_airpurifier_card:
- binary_sensor.purifier_display_light
- type: custom:fold-entity-row
head:
type: custom:dummy-entity-row
entity: sensor.purifier_pre_filter
type: custom:template-entity-row
name: Filters
entities:
- sensor.purifier_pre_filter

View File

@@ -13,8 +13,7 @@ pi_hole_card:
name: Status
- entity: switch.pihole_temp_disable
name: Pause for 5 mins
- type: custom:dummy-entity-row
entity: sun.sun
- type: custom:template-entity-row
name: Open admin UI
icon: mdi:firefox
tap_action:

View File

@@ -11,8 +11,7 @@ platinum_card:
title: "[[title]]"
icon: "[[icon]]"
entities:
- type: custom:dummy-entity-row
entity: sensor.synology_cpu_load_total
- type: custom:template-entity-row
name: Open admin UI
icon: mdi:firefox
tap_action:

View File

@@ -350,7 +350,7 @@ sensor.average_temperature:
state_display: "[[[ return Math.round(entity.state) + ' °C' ]]]"
- type: entities
entities:
- type: custom:dummy-entity-row
- type: custom:template-entity-row
entity: sensor.average_temperature
name: Open temperature dashboard
icon: mdi:thermometer
@@ -436,7 +436,7 @@ sensor.average_humidity:
low_color: "var(--color-red)"
- type: entities
entities:
- type: custom:dummy-entity-row
- type: custom:template-entity-row
entity: sensor.average_temperature
name: Open temperature dashboard
icon: mdi:thermometer

View File

@@ -26,8 +26,6 @@
type: module
- url: /hacsfiles/lovelace-card-mod/card-mod.js
type: module
- url: /hacsfiles/lovelace-dummy-entity-row/dummy-entity-row.js
type: module
- url: /hacsfiles/lovelace-fold-entity-row/fold-entity-row.js
type: module
- url: /hacsfiles/lovelace-layout-card/layout-card.js
@@ -48,6 +46,8 @@
type: module
- url: /hacsfiles/kb-better-graph-colors/kb-better-graph-colors.js
type: module
- url: /hacsfiles/lovelace-template-entity-row/template-entity-row.js
type: module
- url: /hacsfiles/travel-time-card/travel-time-card.js
type: module
- url: /hacsfiles/vacuum-card/vacuum-card.js