mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-09-06 18:08:45 +00:00
Tweak progress buttons
This commit is contained in:
@@ -32,9 +32,11 @@ progress:
|
|||||||
- font-size: 1.9em
|
- font-size: 1.9em
|
||||||
icon:
|
icon:
|
||||||
- position: absolute
|
- position: absolute
|
||||||
- top: 0
|
- top: 4px
|
||||||
- right: 0
|
- right: -4px
|
||||||
- height: 16px
|
- height: 16px
|
||||||
|
img_cell:
|
||||||
|
- position: initial
|
||||||
card:
|
card:
|
||||||
- background: >
|
- background: >
|
||||||
[[[
|
[[[
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ brita_water_card:
|
|||||||
custom_fields:
|
custom_fields:
|
||||||
remaining_liters:
|
remaining_liters:
|
||||||
- position: absolute
|
- position: absolute
|
||||||
- top: 5px
|
- top: 8px
|
||||||
- right: 5px
|
- right: 5px
|
||||||
- font-size: 12px
|
- font-size: 12px
|
||||||
variables:
|
variables:
|
||||||
|
|||||||
@@ -113,11 +113,13 @@
|
|||||||
- small
|
- small
|
||||||
- progress
|
- progress
|
||||||
entity: sensor.bedroom_weather_temperature
|
entity: sensor.bedroom_weather_temperature
|
||||||
|
state_display: "[[[ return Math.round(entity.state) + ' °C' ]]]"
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template:
|
template:
|
||||||
- small
|
- small
|
||||||
- progress
|
- progress
|
||||||
entity: sensor.bedroom_weather_humidity
|
entity: sensor.bedroom_weather_humidity
|
||||||
|
state_display: "[[[ return Math.round(entity.state) + ' %' ]]]"
|
||||||
variables:
|
variables:
|
||||||
min_value: 25
|
min_value: 25
|
||||||
max_value: 90
|
max_value: 90
|
||||||
@@ -150,7 +152,7 @@
|
|||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: default
|
template: default
|
||||||
entity: binary_sensor.bedroom_right_window_on_off_wrapper
|
entity: binary_sensor.bedroom_right_window_on_off_wrapper
|
||||||
name: M. Bedroom
|
name: Window
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template:
|
template:
|
||||||
- default
|
- default
|
||||||
|
|||||||
Reference in New Issue
Block a user