Curtain card

Hello I have mine remote finally set up in home assistant.
The curtains work great but now I,am looking voor a curtain card that have curtains on both way so one curtain to the left and one to the right.
Where can I find such a card

Hello there iam still searching for a nice curtain card for curtains that close from both sides to the middle and open also from the middle.

Does any one know such a card

I am using lovelace-curtain-card for this.

Works well, is quite configurable (curtain colors, backgrounds etc.) and for curtains that close from both sides to the middle and open also from the middle just add/change:

direction: center

at the Lovelace configuration for the card.

Thanks for this answer.
I installed but it doesn’t come up as a card in mine dashboard even after restart.
This is mine configuration.

Scherm­afbeelding 2024-06-22 om 18.43.56

The mini media player works well

So what can I do on this.

Its not going to appear. Add a Manual Card and enter the following to see if it installed correctly.

type: custom:curtain-card
entity: cover.your_cover
title: Test Curtain
curtainColor: rgb(200,60,80,0.3)
direction: left

Thanks for your help but I can’t figure out to have curtains that goes to the midde
I have change direction to center but the card give me only one curtain from the right.
And i dunno know how to start the. card for opening ,closing oe stop the curtains.

Clear your browser cache after configuring the card.

Try first without changing the default pictures (sceneImage) coming with the card.

(Note the supported picture format and scale: “SceneImage should be an 800x680 scale image, 400x340 resolution is recommended, PNG/JPEG, or even GIF.”)

Tip and swipe on the curtain picture to open/close the curtains.

Thank you for your answer I cleared the cache on safari that is mine browser, and I followed. your instructies.

Mine Homeassistant is on a Synology NAS in a virtual drive

This is how mine yaml file looks now.

type: custom:curtain-card
entity: sciprt.gordijnen_open
title: Test Curtain
curtainColor: rgb(200,60,80,0.3)
direction: center

I restart Homeassistant and I still have one curtain on the left and I have no tick and swipe nothing happened. ???

Is there cache in sinology virtual machine or in Home assistant where I need to clear the cache ??

I’m unsure to whom you replied.

Anyway,

entity: sciprt.gordijnen_open

is incorrect.

Use the correct entity of your cover/curtain:

entity: cover.your_cover

You can lookup the correct entity either through the devices installed to your HA instance or you can also go to:

HA → Settings → Developer Tools → States and look there for the corret naming of the entity for your curtains.

Thanks for your help again.
But I feel very stupid right now.

i have this in a another card and this works.

type: horizontal-stack
cards:

  • show_name: true
    show_icon: true
    type: button
    tap_action:
    action: toggle
    entity: script.gordijnen_open
  • show_name: true
    show_icon: true
    type: button
    tap_action:
    action: toggle
    entity: script.gordijnen_stop
  • show_name: true
    show_icon: true
    type: button
    tap_action:
    action: toggle
    entity: script.gordijnen_dicht

So why is mine entity in the curtain card wrong then and I look for this entity on developer state but I can’t find him there.

First off, please format your code here correctly:

As for this card please re-read the instructions carefully.

For the entity fill in the motor of your curtains as seen by Home Assistant (it’s entity_id). That field is not for calling a script but for defining the entity (the curtain motor). How to find the entity name of your particular curtain motor I have explained to you before.

A simply standard lovelace code for this curtain card looks like i.e.:

type: custom:curtain-card
entity: cover.curtains_master_bedroom_bedside
title: Curtains Master Bedroom Bedside
curtainColor: rgb(153,153,0,0.3)
direction: center

where cover.curtains_master_bedroom_bedside has to be replaced by the entity_id of your curtain motor.

It is really that simple.

type: horizontal-stack
cards:
  - show_name: true
    show_icon: true
    type: button
    tap_action:
      action: toggle
    entity: script.gordijnen_open
  - show_name: true
    show_icon: true
    type: button
    tap_action:
      action: toggle
    entity: script.gordijnen_stop
  - show_name: true
    show_icon: true
    type: button
    tap_action:
      action: toggle
    entity: script.gordijnen_dicht`Preformatted text`

For the entity fill in the motor of your curtains as seen by Home Assistant (it’s entity_id). That field is not for calling a script but for defining the entity (the curtain motor). How to find the entity name of your particular curtain motor I have explained to you before.

I have a broadlink with rf code that sends mine learned rf to mine Doohan curtain motor that is not showable in HA

You are comparing apples and oranges.

is not

Then curtain-card is not for you. It will not work.

Yes I know that, but iam searching and pulling mine hair out at the shame time.
The only entity I ca find is Broadlink

device_tracker.broadlink_wifi_device_32_da_87

remote.broadlink

And this are the scripts I make with mine Broadlink remote control for rf signals.

script.gordijnen_dicht

script.gordijnen_open

script.gordijnen_stop

I don’t have any more choises

Thanks for this answer now iam coming somewhere.

No is also an answer, not the answer I hoped for.

Thank you for your time and your patience