Skip to content

Instantly share code, notes, and snippets.

@Snipercaine
Created April 21, 2020 19:15
Show Gist options
  • Select an option

  • Save Snipercaine/15e51e64bc66d86b567b424a336a7119 to your computer and use it in GitHub Desktop.

Select an option

Save Snipercaine/15e51e64bc66d86b567b424a336a7119 to your computer and use it in GitHub Desktop.
cards:
- hold_action:
action: call-service
service: homeassistant.restart
icon: 'mdi:reload'
icon_height: 75px
name: Restart HA
tap_action:
action: call-service
service: homeassistant.check_config
type: button
- hold_action:
action: none
icon: 'mdi:head-sync-outline'
icon_height: 75px
name: Reload AutoM
tap_action:
action: call-service
service: automation.reload
type: button
type: horizontal-stack
@Mike144007
Copy link
Copy Markdown

This is great. Split mine into three button cards instead of one having a hold and tap action - just fitted my view better. Any way to get feedback on the check config button - valid or otherwise?

@Snipercaine
Copy link
Copy Markdown
Author

Snipercaine commented Jun 8, 2020 via email

@Mike144007
Copy link
Copy Markdown

Brilliant - thank you. Trying to catch up with your live streams - can't watch live (in Hong Kong) but they are the most user friendly and comprehensive videos on HA that I have found - apologies to the Hook Up, Pinkywafer, and JuanMTech ! Saved me on custom cards after several days of frustration. Alexa without the cloud any time ?

@Snipercaine
Copy link
Copy Markdown
Author

Snipercaine commented Jun 8, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment