The glance is working as intended: it shows info and allows me to press execute to restart the HASS instance. The entity-button is doing absolutely nothing. I have compared it to some examples from the Web but nothing helped me solve this problem. What’s wrong?
Edit: Changed service: script.run to service: script.turn_on as this is what I have in my config. It still does not work.
@martamoonpie@petro my bad, I had script.turn_on from the beginning, I just pasted one of my attempts to fix it. @petroscript.hass_restart is not working as well
@petro@martamoonpie Thank you very much for your help. I have just realized that I had underscore instead of a dash in call-service. I was pretty sure that I copied the syntax, guess I was wrong. Sorry for trouble
Yes, this whole thread is outdated. Around 0.84 - 0.85, the configuration of tap_action changed. This whole thread is the configuration prior to that change.
Result:
The entity is actually something random, because it is required, but it doesn’t seem to matter (except for the icon, but this is adjustable anyway).