berrywhite96 / lovelace-shutter-row

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

Service data #20

Closed gvigroux closed 1 year ago

gvigroux commented 1 year ago

When using the UI to configure an action, the default keyword used for data sent to the service is "data". It seems it should be "service_data"

I've had to update it myself in the code to have this working

berrywhite96 commented 1 year ago

That's funny because the yaml data is generated by an dependency and the execution of the service too, so I never chose the keyword. I will look into it, besides I saw that the three custom actions are always move_down_button.

Not really put a lot of love in it, I am just not a fan of the UI configuration.

berrywhite96 commented 1 year ago

Fixed in 0.3.1 and onwards.