Closed dansity closed 1 year ago
button-card uses a different action syntax, check the docs. this is a user error, not a bug
Would you care to elaborate? This is from the Readme example:
- type: 'custom:button-card'
color_type: card
color: rgb(223, 255, 97)
icon: mdi:volume-plus
tap_action:
action: call-service
service: media_player.volume_up
service_data:
entity_id: media_player.living_room_speaker
precisely. now check the syntax in your opening post
target
works now in the latest beta and future 4.0.0 release.
Checklist
Describe the bug The following button starts the vacuum cleaner:
Essentially the same button but with button-card returns error:
Seems like the part device_id is not getting passed.
Version of the card Version: 3.5.0
To Reproduce This is the configuration I used: As stated above, create a button card for vacuum cleaner then change it to custom:button-card
Desktop (please complete the following information): Any browser