Closed slingshot74 closed 1 year ago
@slingshot74
tap_action:
action: toggle
This is the syntax.
@Opontios Unfortunately that didn't work although I get an error now.
Code:
Error: Failed to call service button/turn_off. Service not found.
But you put om on the right track and got to get it working. Thank you very much!
Hi,
I have blinds and with the my button the blinds go to the “my position”/
When I use a normal button everything works fine with this code:
show_name: true show_icon: true type: button tap_action: action: toggle entity: button.werkkamer_my_position
I want to use the custom:button-card When i don’t specify an action the tap_action should be default - toggle But when i push the button I got the “more information” screen.
`type: custom:button-card entity: button.werkkamer_my_position color_type: icon color: steelblue show_entity_picture: true icon: mdi:star label: My tuin show_label: true show_name: false styles: card:
When I add tap_action: toggle nothing happens when I push the button.
`type: custom:button-card entity: button.werkkamer_my_position color_type: icon color: steelblue show_entity_picture: true icon: mdi:star label: My tuin show_label: true show_name: false tap_action: toggle styles: card: