#Cover control with up/stop/down buttons
1 messages · Page 1 of 1 (latest)
Bringing your code into the threadyaml type: custom:shutter-row entity: remote.broadlink_universal_remote name: Kitchen Shutter disable_position: true state_color: false move_up_button: tap_action: action: call-service service: script.roller_shutter_up target: {} double_tap_action: action: none hold_action: action: none move_stop_button: tap_action: action: call-service service: script.roller_shutter_stop target: {} double_tap_action: action: none hold_action: action: none move_down_button: tap_action: action: call-service service: script.roller_shutter_down target: {} double_tap_action: action: none hold_action: action: none group: false rtl_position: false
I see you went with a custom card. 👍
This is something I threw together right quick: ```yaml
type: custom:stack-in-card
mode: vertical
card_mod:
style: |
ha-card {
--ha-card-background: none;
}
cards:
- type: markdown
content: <center><font size=6>Kitchen Shutter</center>
card_mod:
style: |
ha-card {
border: none;
} - type: horizontal-stack
card_mod:
style: |
ha-card {
border: none;
}
cards:- type: custom:button-card
icon: mdi:arrow-down-bold
tap_action:
action: call-service
service: script.roller_shutter_down
card_mod:
style: |
ha-card {
border: none;
} - type: custom:button-card
icon: mdi:stop
tap_action:
action: call-service
service: script.roller_shutter_stop
card_mod:
style: |
ha-card {
border: none;
} - type: custom:button-card
icon: mdi:arrow-up-bold
tap_action:
action: call-service
service: script.roller_shutter_up
card_mod:
style: |
ha-card {
border: none;
}```
- type: custom:button-card