mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-09-06 18:08:45 +00:00
Rename button templates
This commit is contained in:
@@ -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:
|
||||
|
||||
+6
-6
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user