berrywhite96 / lovelace-shutter-row

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

YAML code #34

Open 82timo opened 3 months ago

82timo commented 3 months ago

Hi, I dont get this card working completely. The buttons (up, down and stop) are working fine, but the preset button doesn't work. This is the card example code:

**type: "custom:shutter-row" entity: cover.cover_entity name: Friendly name invert_position: true state_color: true preset_buttons:

My entity of the shutter is called "cover.18sleepingroom"

I changed the YAML to this:

**type: "custom:shutter-row" entity: cover.18sleepingroom name: Shutter sleepingroom invert_position: true state_color: true preset_buttons:

What is wrong? service?

berrywhite96 commented 3 months ago

The entity_id doesn't go under data, It's under target. Just use the HA dashboard editor to create your card configs, even if you are using dashboard in yaml mode.

82timo commented 3 months ago

Thank you, it works now. I used HA dashboard editor.

Is there an opportunity to change the theme of this card? And another wish: is it possible to deactivate the yellow icon left to "Shutter" in this picture?

https://user-images.githubusercontent.com/24818127/192158290-8d833fa2-912d-4232-996a-ef4ff99f660c.png