Hi Guys
The design I have no issue with but the thought process of having to click 3 buttons to get the Configuration Button is crazy. It must be the most visited page daily but I have to go through General Tab first ?
Why
Maybe, you can build a button for yourself and call respective service
service: homeassistant.check_config
here is a “development” section I use in one of my lovelace views. All of the checks and reloads/restart are in one place.
It uses the “check-config” appdaemon app but if you don’t want to use that you could modify it as needed.
- type: custom:stack-in-card
title: Developer Tools
cards:
## row 1 ##
- type: horizontal-stack
cards:
- type: 'custom:button-card'
color_type: blank-card
- type: 'custom:button-card'
color_type: blank-card
- type: 'custom:button-card'
label: "Check<br/>Config"
entity_picture: /local/icons/icons8/icons8-blue-ui-80.png
show_entity_picture: true
show_label: true
tap_action:
action: call-service
service: script.check_config
styles:
label:
- font-size: 10px
- align-self: middle
- padding-top: 4px
- padding-bottom: 4px
- type: 'custom:button-card'
color_type: blank-card
- type: 'custom:button-card'
color_type: blank-card
## row 2 ##
- type: entities
show_header_toggle: false
entities:
- sensor.config_result
- type: conditional
conditions:
- entity: sensor.config_result
state: 'invalid'
card:
type: 'custom:card-templater'
card:
type: markdown
title: Error
content_template: >-
{{ state_attr('sensor.config_result', 'detail') }}
entities:
- sensor.config_result
## row 3 ##
- type: horizontal-stack
cards:
- type: 'custom:button-card'
label: "Reload<br/>Inputs"
entity_picture: /local/icons/icons8/icons8-input-80.png
show_entity_picture: true
show_label: true
tap_action:
action: call-service
service: script.ha_reload_inputs
styles:
label:
- font-size: 10px
- align-self: middle
- padding-top: 4px
- padding-bottom: 4px
- type: 'custom:button-card'
label: "Reload<br/>Core"
entity_picture: /local/icons/icons8/icons8-source-code-80.png
show_entity_picture: true
show_label: true
tap_action:
action: call-service
service: homeassistant.reload_core_config
styles:
label:
- font-size: 10px
- align-self: middle
- padding-top: 4px
- padding-bottom: 4px
- type: 'custom:button-card'
label: "Reload<br/>Templates"
entity_picture: /local/icons/icons8/icons8-load-resume-template-80.png
show_entity_picture: true
show_label: true
tap_action:
action: call-service
service: template.reload
styles:
label:
- font-size: 10px
- align-self: middle
- padding-top: 4px
- padding-bottom: 4px
- white-space: initial
- text-overflow: initial
- overflow: initial
- type: 'custom:button-card'
label: "Reload<br/>Automations"
entity_picture: /local/icons/icons8/icons8-automation-80.png
show_entity_picture: true
show_label: true
tap_action:
action: call-service
service: automation.reload
styles:
label:
- font-size: 10px
- align-self: middle
- padding-top: 4px
- padding-bottom: 4px
- white-space: initial
- text-overflow: initial
- overflow: initial
- type: 'custom:button-card'
label: "Reload<br/>Scripts"
entity_picture: /local/icons/icons8/icons8-property-script-80.png
show_entity_picture: true
show_label: true
tap_action:
action: call-service
service: script.reload
styles:
label:
- font-size: 10px
- align-self: middle
- justify: center
- padding-top: 4px
- padding-bottom: 4px
## Row 4 ##
- type: horizontal-stack
cards:
- type: 'custom:button-card'
label: "Reload<br/>Groups"
entity_picture: /local/icons/icons8/icons8-user-groups-80.png
show_entity_picture: true
show_label: true
tap_action:
action: call-service
service: group.reload
styles:
card:
label:
- font-size: 10px
- align-self: middle
- padding-bottom: 4px
- type: 'custom:button-card'
label: "Reload<br/>Timers"
entity_picture: /local/icons/icons8/icons8-timer-80.png
show_entity_picture: true
show_label: true
tap_action:
action: call-service
service: timer.reload
styles:
card:
label:
- font-size: 10px
- align-self: middle
- padding-bottom: 4px
- type: 'custom:button-card'
label: "Reload<br/>MQTT"
entity_picture: /local/icons/icons8/icons8-mosquito-80.png
show_entity_picture: true
show_label: true
tap_action:
action: call-service
service: mqtt.reload
styles:
card:
label:
- font-size: 10px
- align-self: middle
- padding-bottom: 4px
- type: 'custom:button-card'
label: "Reload<br/>Python Scripts"
entity_picture: /local/icons/icons8/icons8-py-80.png
show_entity_picture: true
show_label: true
tap_action:
action: call-service
service: python_script.reload
styles:
card:
label:
- font-size: 10px
- align-self: middle
- padding-bottom: 4px
- type: 'custom:button-card'
label: "Reload<br/>Command Line"
entity_picture: /local/icons/icons8/icons8-command-line-80.png
show_entity_picture: true
show_label: true
tap_action:
action: call-service
service: command_line.reload
styles:
card:
label:
- font-size: 10px
- align-self: middle
- justify: center
- padding-bottom: 4px
## Row 5 ##
- type: horizontal-stack
cards:
- type: 'custom:button-card'
label: "Reload<br/>History Stats"
entity_picture: /local/icons/icons8/icons8-order-history-80.png
show_entity_picture: true
show_label: true
tap_action:
action: call-service
service: history_stats.reload
styles:
card:
label:
- font-size: 10px
- align-self: middle
- padding-bottom: 4px
- type: 'custom:button-card'
label: "Reload<br/>Statistics"
entity_picture: /local/icons/icons8/icons8-statistics-80.png
show_entity_picture: true
show_label: true
tap_action:
action: call-service
service: statistics.reload
styles:
card:
label:
- font-size: 10px
- align-self: middle
- padding-bottom: 4px
- type: 'custom:button-card'
label: "Reload<br/>MIN-MAX"
entity_picture: /local/icons/icons8/icons8-bar-chart-80.png
show_entity_picture: true
show_label: true
tap_action:
action: call-service
service: min_max.reload
styles:
card:
label:
- font-size: 10px
- align-self: middle
- padding-bottom: 4px
- type: 'custom:button-card'
label: "Reload<br/>Ping"
entity_picture: /local/icons/icons8/icons8-ultrasound-80.png
show_entity_picture: true
show_label: true
tap_action:
action: call-service
service: ping.reload
styles:
card:
label:
- font-size: 10px
- align-self: middle
- padding-bottom: 4px
- type: 'custom:button-card'
label: "Reload<br/>SMTP"
entity_picture: /local/icons/icons8/icons8-email-80.png
show_entity_picture: true
show_label: true
tap_action:
action: call-service
service: smtp.reload
styles:
card:
label:
- font-size: 10px
- align-self: middle
- justify: center
- padding-bottom: 4px
## Row 6 ##
- type: horizontal-stack
cards:
- type: 'custom:button-card'
label: "Reload<br/>Persons"
entity_picture: /local/icons/icons8/icons8-person-80.png
show_entity_picture: true
show_label: true
tap_action:
action: call-service
service: person.reload
styles:
card:
label:
- font-size: 10px
- align-self: middle
- padding-bottom: 4px
- type: 'custom:button-card'
label: "Reload<br/>Zones"
entity_picture: /local/icons/icons8/icons8-place-marker-80.png
show_entity_picture: true
show_label: true
tap_action:
action: call-service
service: zone.reload
styles:
card:
label:
- font-size: 10px
- align-self: middle
- padding-bottom: 4px
- type: 'custom:button-card'
label: "Reload<br/>REST"
entity_picture: /local/icons/icons8/icons8-rest-api-80.png
show_entity_picture: true
show_label: true
tap_action:
action: call-service
service: rest.reload
styles:
card:
label:
- font-size: 10px
- align-self: middle
- padding-bottom: 4px
- type: 'custom:button-card'
label: "Reload<br/>Resources"
entity_picture: /local/icons/icons8/icons8-natural-food-80.png
show_entity_picture: true
show_label: true
tap_action:
action: call-service
service: lovelace.reload_resources
styles:
card:
label:
- font-size: 10px
- align-self: middle
- padding-bottom: 4px
- type: 'custom:button-card'
label: "Reload<br/>Themes"
entity_picture: /local/icons/icons8/icons8-change-theme-80.png
show_entity_picture: true
show_label: true
tap_action:
action: call-service
service: frontend.reload_themes
styles:
card:
label:
- font-size: 10px
- align-self: middle
- justify: center
- padding-bottom: 4px
## Row 7 ##
- type: horizontal-stack
cards:
- type: 'custom:button-card'
color_type: blank-card
- type: 'custom:button-card'
color_type: blank-card
- type: 'custom:button-card'
label: "Restart<br/>Server"
entity_picture: /local/icons/icons8/icons8-server-80.png
show_entity_picture: true
show_label: true
tap_action:
action: call-service
service: script.ha_restart_hass_server
styles:
label:
- font-size: 10px
- align-self: middle
- padding-top: 4px
- padding-bottom: 4px
- type: 'custom:button-card'
color_type: blank-card
- type: 'custom:button-card'
color_type: blank-card
here is how it looks:
I haven’t used the server controls area of configuration menu in a long time…
There’s also this option:
I added a link to devices the other day too as I find myself using that a lot now. Though I should force myself to remember the Quick Bar. If you want fast that is the way. Press c
and a couple of related letters and all commands are right there.
I think the duplicate server controls are due to my panel redirects.