Open Truble187 opened 7 months ago
you are using the incorrect syntax:
use:
tap_action:
action: call-service
service: scene.turn_on
data:
entity_id: entity
if your button-card holds a scene as entity, or replace entity
in the entity_id line with your actual scene entity_id
you are using the incorrect syntax:
use:
tap_action: action: call-service service: scene.turn_on data: entity_id: entity
if your button-card holds a scene as entity, or replace
entity
in the entity_id line with your actual scene entity_id
Thanks but the error is the same ;(
Please post full button-card yaml and format correctly using the code ticks
Hey, here is the yaml:
type: custom:button-card
entity: scene.diningroom_scene1
name: Pandemonium
show_name: false
layout: name_state
tap_action:
action: call-service
service: scene.turn_on
data:
entity_id: scene.diningroom_scene1
styles:
card:
- background-image: url("/local/img/scene/scene1.png")
- background-size: cover
just tested this:
type: custom:button-card
entity: scene.dining_table_gedimd
tap_action:
action: call-service
service: scene.turn_on
data:
entity_id: entity
and it works as expected.
are you sure your scene has the correct entity_id there?
fwiw, I also tested the HA syntax, which IS supported with the latest button-card version (sorry, it wasnt before)
type: custom:button-card
entity: sun.sun
name: scene concentreren
tap_action:
action: call-service
service: scene.turn_on
data: {}
target:
entity_id: scene.dining_table_concentreren
and works perfectly.
I'm experience the same issue. The sceen is not activated My yaml ` type: custom:button-card icon: mdi:lightbulb-outline size: 30% color: grey show_entity_picture: true name: Køkken 0 entity: input_number.koekken_scene state:
Discussed in https://github.com/custom-cards/button-card/discussions/799