I fundamentally don’t ‘get’ lovelace in the same way I’m perfectly at home with the regular YAML for writing automations. It’s never clicked. I find it seemingly incomprehensible. I’m trying to get the below to appear as a grid, I just can’t make it work. Any tips much appreciated!! Thank you…!
title: Street
views:
- badges: []
cards:
- cards:
- card:
content: '# {{ states.input_text.keypad.state }}'
type: markdown
conditions:
- entity: input_text.keypad
state_not: ' '
type: conditional
type: horizontal-stack
- cards:
- hold_action:
action: none
icon: 'mdi:numeric-1'
show_icon: true
show_name: false
show_state: false
tap_action:
action: call-service
service: script.button_one_text
type: button
- hold_action:
action: none
icon: 'mdi:numeric-2'
show_icon: true
show_name: false
show_state: false
tap_action:
action: call-service
service: script.button_two_text
type: button
- hold_action:
action: none
icon: 'mdi:numeric-3'
show_icon: true
show_name: true
show_state: false
tap_action:
action: call-service
service: script.button_three_text
type: button
type: horizontal-stack
- cards:
- hold_action:
action: none
icon: 'mdi:numeric-4'
show_icon: true
show_name: true
show_state: false
tap_action:
action: call-service
service: script.button_four_text
type: button
- hold_action:
action: none
icon: 'mdi:numeric-5'
show_icon: true
show_name: true
show_state: false
tap_action:
action: call-service
service: script.button_five_text
type: button
- hold_action:
action: none
icon: 'mdi:numeric-6'
show_icon: true
show_name: false
show_state: false
tap_action:
action: call-service
service: script.button_six_text
type: button
type: horizontal-stack
- cards:
- hold_action:
action: none
icon: 'mdi:numeric-7'
show_icon: true
show_name: true
show_state: false
tap_action:
action: call-service
service: script.button_seven_text
type: button
- hold_action:
action: none
icon: 'mdi:numeric-8'
show_icon: true
show_name: false
show_state: false
tap_action:
action: call-service
service: script.button_eight_text
type: button
- hold_action:
action: none
icon: 'mdi:numeric-9'
show_icon: true
show_name: false
show_state: false
tap_action:
action: call-service
service: script.button_nine_text
type: button
type: horizontal-stack
- cards:
- hold_action:
action: none
icon: 'mdi:close'
show_icon: true
show_name: false
show_state: false
tap_action:
action: call-service
service: script.button_clear_text
type: button
- hold_action:
action: none
icon: 'mdi:numeric-0'
show_icon: true
show_name: false
show_state: false
tap_action:
action: call-service
service: script.button_zero_text
type: button
- hold_action:
action: none
icon: 'mdi:check'
show_icon: true
show_name: false
show_state: false
tap_action:
action: call-service
service: script.button_enter_text
type: button
type: horizontal-stack
type: vertical-stack
icon: 'mdi:arrow-decision-outline'
title: Gubbins