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 646e40833..83d3cac62 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 @@ -74,6 +74,12 @@ card_vertical_button: return "automation.toggle"; if( entity.entity_id.startsWith("input_button.") ) return "input_button.press"; + if( entity.entity_id.startsWith("fan.") ) + return "fan.toggle"; + if( entity.entity_id.startsWith("vacuum.") ) + return "vacuum.toggle"; + if( entity.entity_id.startsWith("script.") ) + return "script.toggle"; // If we need to support other entities we can add these options here. return ""; ]]]