Rename button templates

This commit is contained in:
2020-12-08 10:46:05 +02:00
parent 2df7f48e76
commit 5b538146fa
16 changed files with 101 additions and 101 deletions
@@ -1,2 +1,2 @@
default:
template: [small, with_state_background]
template: [regular, with_state_background]
@@ -1,5 +1,5 @@
hallway_dashboard_mode:
template: [mobile]
template: [small]
entity: input_select.hallway_dashboard_mode
show_state: true
show_name: false
@@ -1,6 +1,6 @@
humidity_button:
type: custom:button-card
template: [small, progress]
template: [regular, progress]
state_display: "[[[ return Math.round(entity.state) + ' %' ]]]"
icon: mdi:water-percent
variables:
@@ -1,14 +1,14 @@
mobile:
size: 24px
regular:
size: 30px
hold_action:
action: more-info
styles:
card:
- height: 70px
- height: 100px
- font-size: 14px
grid:
- height: 60px
- height: 90px
img_cell:
- height: 40px
- height: 60px
name:
- height: 24px
- height: 30px
@@ -1,14 +1,14 @@
small:
size: 30px
size: 24px
hold_action:
action: more-info
styles:
card:
- height: 100px
- height: 70px
- font-size: 14px
grid:
- height: 90px
img_cell:
- height: 60px
img_cell:
- height: 40px
name:
- height: 30px
- height: 24px