Created
November 15, 2023 16:49
-
-
Save epaulsen/77b88337ef59387fdf0a8a940797734e to your computer and use it in GitHub Desktop.
Button-card og gridview med husmodus
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- square: false | |
columns: 3 | |
type: grid | |
cards: | |
- type: custom:button-card | |
entity: input_text.husmodus | |
icon: mdi:sun-clock | |
color_type: card | |
aspect_ratio: 1/0.5 | |
color: var(--card-background-color) | |
name: Dag | |
tap_action: | |
action: call-service | |
service: input_text.set_value | |
service_data: | |
value: DAG | |
entity_id: input_text.husmodus | |
target: {} | |
state: | |
- value: DAG | |
color: green | |
- type: custom:button-card | |
entity: input_text.husmodus | |
icon: mdi:weather-night | |
aspect_ratio: 1/0.5 | |
color_type: card | |
color: var(--card-background-color) | |
name: Natt | |
tap_action: | |
action: call-service | |
service: input_text.set_value | |
service_data: | |
value: NATT | |
entity_id: input_text.husmodus | |
target: {} | |
state: | |
- value: NATT | |
color: green | |
- type: custom:button-card | |
entity: input_text.husmodus | |
name: Borte | |
color_type: card | |
aspect_ratio: 1/0.5 | |
color: var(--card-background-color) | |
icon: mdi:home-export-outline | |
tap_action: | |
action: call-service | |
service: input_text.set_value | |
service_data: | |
value: BORTE | |
entity_id: input_text.husmodus | |
target: {} | |
state: | |
- value: BORTE | |
color: green |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment