Below there is a part from config. There are no errors, but it either doesn’t work or just calls a pop-up window where I must click “run” as it is seen on a screenshot.
panel: true
type: vertical-stack
title: Гостиная
cards:
- type: horizontal-stack
cards:
#this calls pop-up window as on the screenshot
- type: entity-button
action: call-service
service: light.turn_on
entity: script.light_power
name: Вкл-выкл
icon: 'mdi:power'
#this doesn't do anything when pressed
- type: entity-button
entity: script.light_night
name: Ночной
icon: 'mdi:weather-night'
tap_action: toggle
hold_action: more-info