From 8f589d2ea6fa50a1511fcf641168f08f39584081 Mon Sep 17 00:00:00 2001 From: MastrUsr <34539988+MastrUsr@users.noreply.github.com> Date: Thu, 9 Nov 2023 15:56:43 +0100 Subject: [PATCH] Update card_vertical_button.yaml HA can have buttons, not just input_buttons.. (This is my first time, please be patient with me). --- .../card_templates/cards/card_vertical_button.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/custom_components/ui_lovelace_minimalist/lovelace/ulm_templates/card_templates/cards/card_vertical_button.yaml b/custom_components/ui_lovelace_minimalist/lovelace/ulm_templates/card_templates/cards/card_vertical_button.yaml index 83d3cac62..1667d8e9d 100644 --- a/custom_components/ui_lovelace_minimalist/lovelace/ulm_templates/card_templates/cards/card_vertical_button.yaml +++ b/custom_components/ui_lovelace_minimalist/lovelace/ulm_templates/card_templates/cards/card_vertical_button.yaml @@ -80,6 +80,8 @@ card_vertical_button: return "vacuum.toggle"; if( entity.entity_id.startsWith("script.") ) return "script.toggle"; + if( entity.entity_id.startsWith("button.") ) + return "button.press"; // If we need to support other entities we can add these options here. return ""; ]]]