berrywhite96 / lovelace-shutter-row

Home Assistant Lovelace Shutter Row Card
MIT License
22 stars 4 forks source link

Buttons do not work anymore #37

Open g-team23 opened 2 months ago

g-team23 commented 2 months ago

The additional Button that can be configured, do not work anymore. Maybe that has to do with the service/action changes recently in HomeAssistent!?

berrywhite96 commented 2 months ago

Still works for me, can you share your card yaml?

g-team23 commented 2 months ago

This is the yaml-code:

type: custom:shutter-row move_up_button: {} move_stop_button: {} move_down_button: {} entity: cover.rollo_gaestezimmer name: Rollo Gästezimmer preset_buttons:

Am So., 15. Sept. 2024 um 15:39 Uhr schrieb berrywhite96 < @.***>:

Still works for me, can you share your card yaml?

— Reply to this email directly, view it on GitHub https://github.com/berrywhite96/lovelace-shutter-row/issues/37#issuecomment-2351598746, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXFLQJZRBN56SGBWM24GNFLZWWEYJAVCNFSM6AAAAABN2DSOB6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNJRGU4TQNZUGY . You are receiving this because you authored the thread.Message ID: @.***>

berrywhite96 commented 1 month ago

Oh I see you are right, seems like a bit of work to switch the action handling.

The example in the docs are still correct just the lovelace UI configurator generates wrong yaml code. This should work:

preset_buttons:
  - name: Sonnenschutz
    icon: mdi:window-shutter
    tap_action:
      action: call-service
      service: automation.trigger
      data:
        entity_id: automation.rollo_gastezimmer_sonnenschutz
        skip_condition: true
g-team23 commented 1 month ago

Thank you for the example code. That works as expected.

Looking forward to an adjustment in the UI.

Am So., 29. Sept. 2024 um 03:00 Uhr schrieb berrywhite96 < @.***>:

Oh I see you are right, seems like a bit of work to switch the action handling.

The example in the docs are still correct just the lovelace UI configurator generates wrong yaml code. This should work:

preset_buttons:

  • name: Sonnenschutz icon: mdi:window-shutter tap_action: action: call-service service: automation.trigger data: entity_id: automation.rollo_gastezimmer_sonnenschutz skip_condition: true

— Reply to this email directly, view it on GitHub https://github.com/berrywhite96/lovelace-shutter-row/issues/37#issuecomment-2381043812, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXFLQJ6OVHRIRFITHI5RD2LZY5GMVAVCNFSM6AAAAABN2DSOB6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOBRGA2DGOBRGI . You are receiving this because you authored the thread.Message ID: @.***>