mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-06-15 17:12:59 +00:00
Put person buttons in more places
This commit is contained in:
@@ -13,7 +13,7 @@ v3_button_person:
|
|||||||
- background-repeat: no-repeat
|
- background-repeat: no-repeat
|
||||||
- background-position: center center
|
- background-position: center center
|
||||||
- background-size: cover
|
- background-size: cover
|
||||||
- border-color: var(--primary-color)
|
- border-color: var(--accent-color)
|
||||||
state:
|
state:
|
||||||
- value: 'off'
|
- value: 'off'
|
||||||
styles:
|
styles:
|
||||||
|
|||||||
@@ -28,6 +28,12 @@
|
|||||||
- title: Bedroom
|
- title: Bedroom
|
||||||
- type: horizontal-stack
|
- type: horizontal-stack
|
||||||
cards:
|
cards:
|
||||||
|
- type: custom:button-card
|
||||||
|
template: v3_button_person
|
||||||
|
entity: input_boolean.georgi_home
|
||||||
|
styles:
|
||||||
|
card:
|
||||||
|
- background-image: url("/local/images/people/georgi.jpg")
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: v3_badge_temp
|
template: v3_badge_temp
|
||||||
entity: sensor.bedroom_weather_temperature
|
entity: sensor.bedroom_weather_temperature
|
||||||
|
|||||||
@@ -28,6 +28,12 @@
|
|||||||
- title: Guest Bedroom
|
- title: Guest Bedroom
|
||||||
- type: horizontal-stack
|
- type: horizontal-stack
|
||||||
cards:
|
cards:
|
||||||
|
- type: custom:button-card
|
||||||
|
template: v3_button_person
|
||||||
|
entity: input_boolean.player_2_home
|
||||||
|
styles:
|
||||||
|
card:
|
||||||
|
- background-image: url("/local/images/people/milena.jpg")
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: v3_badge_temp
|
template: v3_badge_temp
|
||||||
entity: sensor.guest_bedroom_weather_temperature
|
entity: sensor.guest_bedroom_weather_temperature
|
||||||
|
|||||||
@@ -28,6 +28,18 @@
|
|||||||
- title: Preferences
|
- title: Preferences
|
||||||
- type: horizontal-stack
|
- type: horizontal-stack
|
||||||
cards:
|
cards:
|
||||||
|
- type: custom:button-card
|
||||||
|
template: v3_button_person
|
||||||
|
entity: input_boolean.georgi_home
|
||||||
|
styles:
|
||||||
|
card:
|
||||||
|
- background-image: url("/local/images/people/georgi.jpg")
|
||||||
|
- type: custom:button-card
|
||||||
|
template: v3_button_person
|
||||||
|
entity: input_boolean.player_2_home
|
||||||
|
styles:
|
||||||
|
card:
|
||||||
|
- background-image: url("/local/images/people/milena.jpg")
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
template: v3_badge
|
template: v3_badge
|
||||||
entity: input_boolean.georgi_home
|
entity: input_boolean.georgi_home
|
||||||
|
|||||||
Reference in New Issue
Block a user