Anyone can please support -

which app you are using to edit the file, mine is completely different

image
like this or

image

Not app, the forum, as you post it here.

The second one

Loads default set of integrations. Do not remove.

default_config:

Load frontend themes from the themes folder

Example configuration.yaml entry

frontend:
themes: !include_dir_merge_named themes

happy:

primary-color: black

accent-color: orange

sad:

primary-color: steelblue

accent-color: darkred

Example configuration.yaml entry

script: !include scripts.yaml
scene: !include scenes.yaml

cover:

  • platform: template
    covers:
    blind:
    device_class: blind
    friendly_name: “Main”
    open_cover:
    service: script.main_blind_open
    close_cover:
    service: script.main_blind_close
    stop_cover:
    service: script.main_blind_stop

you are my super hero, I am complying killed my self, it working now thanks a lot for your quicks support

Glad you got it going.

For reference, have a read of this to explain the formatting for the forum.

1 Like

one last question how can i add more blinds where should i start my second blind?

If it’s following the same tyoe of config as the previous one, just add it underneath. Make it so the name of the new blind (where you currently have ‘blind’) is indented to the same point.

image

hope like this

You don’t need the second set of:

- platform: template
  covers:

I am not getting any error after restart the HA, but I can not see my office blind

cover:
- platform: template
  covers:
    blind:
      device_class: blind
      friendly_name: "Main"
      open_cover:
        service: script.main_blind_open
      close_cover:
        service: script.main_blind_close
      stop_cover:
        service: script.main_blind_stop
        
- platform: template
  covers:
    blind:
      device_class: blind
      friendly_name: "office"
      open_cover:
        service: script.office_blind_open
      close_cover:
        service: script.office_blind_close
      stop_cover:
        service: script.office_blind_stop        
        ```

I am getting error

It needs to be like this:

cover:
- platform: template
  covers:
    blind:
      device_class: blind
      friendly_name: "Main"
      open_cover:
        service: script.main_blind_open
      close_cover:
        service: script.main_blind_close
      stop_cover:
        service: script.main_blind_stop
        
    office:
      device_class: blind
      friendly_name: "office"
      open_cover:
        service: script.office_blind_open
      close_cover:
        service: script.office_blind_close
      stop_cover:
        service: script.office_blind_stop

You might also want to change the first one to “main” rather than just “blind”. Then you will also need to adjust your script from earlier.

cover:
- platform: template
  covers:
    blind:
      device_class: blind
      friendly_name: "Main Blind"
      open_cover:
        service: script.main_blind_open
      close_cover:
        service: script.main_blind_close
      stop_cover:
        service: script.main_blind_stop
        
    office:
      device_class: blind
      friendly_name: "Office Blind"
      open_cover:
        service: script.office_blind_open
      close_cover:
        service: script.office_blind_close
      stop_cover:
        service: script.office_blind_stop

Like this now i am getting both blind my dashboard . just testing now

Hello sparkdave, code is working now. , need to fix my remote code. Thank you a lot for your support . you make my evening wonderful " you are the best " Have a nice evening, Always keen to learn from you,

No problem. If you don’t mind, please mark my post as the solution.

How to do that.

1 Like

I did already , thanks once again

No, you still have your own post marked with the Solution tag.

The post that identifies the problem and offers a correction is the one that should be marked with the Solution tag (that’s sparkydave’s post).

If you haven’t read the forum’s FAQ, I highly recommend you take a few minutes to review it. It will help you understand the guidelines for using this community forum.

1 Like

Thanks a lot pointing my mistake, fix it