☀️ Cover Control Automation (CCA) - a comprehensive and highly configurable roller blind blueprint

Hi,
I do get the same error as DieBreuers:
WARNING (MainThread) [homeassistant.helpers.template] Template variable warning: ‘dict object’ has no attribute ‘id’ when rendering ‘{{ trigger.id | regex_match(’^(t_shading_start|t_open_1|t_open_3)‘) }}’

Have you already found the possible root cause?

Are you sure that the length of the helper is set to 254 characters?

Hi,
Min Length: 0
Max. Length: 254
All helpers checked. Also the helpers do contain some text.

Oh no. I have the answer. You ran automation manually. You shouldn’t do that. That’s not how the Blueprint works in productive operation.

Hi,

Thanks for the great work on this automation blueprint!

I’m trying to use it with a setup where I don’t have a single cover entity, but instead two separate entities – one for position (number.cover_position) and one for tilt/lamella angle (number.cover_tilt). Since the trigger in the blueprint expects a single cover entity, I’m not sure how to make this compatible with my configuration.

Do you have any recommendation for handling this type of setup?

Appreciate any guidance – thanks in advance!

1 Like

Hey Herr.Vorragend, do you have an idea for my proposal?

Thanks for the quick analysis. I thought I can trigger the automation manually to check if it is working.
As far understood I really have to wait until the external triggers are triggered.

I was confused of the following text:
:heavy_check_mark: Check Configuration
With this boolean, you can enable or disable the basic plausibility check for the configuration. The check only takes place if the automation is executed manually.

Hello,

the automation was disabled in the winter and now nothing works.
I need only sun shading, so I read the thread and tried different setups. I think my current setup is very close to working but it isn’t.
Can someone take a look at the traces and the configuration?
Thanks!
Config:

alias: Beschattung Wohnzimmer Terrasse
description: ""
use_blueprint:
  path: hvorragend/cover_control_automation.yaml
  input:
    blind: cover.rollladen_wohnzimmer_terrasse
    auto_options:
      - auto_shading_enabled
      - auto_lockout_protection_enabled
      - auto_up_enabled
      - auto_down_enabled
      - auto_brightness_enabled
      - auto_sun_enabled
    drive_time: 50
    open_position: 100
    shading_tilt_position: 50
    shading_position: 20
    shading_azimuth_start: 60
    shading_azimuth_end: 125
    shading_elevation_min: 15
    shading_min_temperatur1: 15
    shading_temperatur_sensor1: sensor.wettertstation_temperatur
    shading_brightness_sensor: sensor.lichtsensor_no_beleuchtungsstarke
    shading_sun_brightness_start: 60000
    shading_sun_brightness_end: 10000
    shading_waitingtime_start: 60
    default_brightness_sensor: sensor.lichtsensor_no_durchschnittliche_beleuchtungsstarke
    close_position: 0
    cover_status_helper: input_text.beschattung_wohnzimmer_terrasse
    individual_config:
      - allow_shading_multiple_times
    check_config: true
    cover_status_options: cover_helper_enabled
    ventilate_position: 100
    auto_shading_end_condition: []
    ignore_after_manual_config: []
    reset_override_config: reset_disabled
    reset_override_timeout: 360
    contact_sensor_lockout: binary_sensor.hmip_swdo_i_00109f298e0890
    auto_shading_start_condition:
      - condition: state
        entity_id: input_boolean.beschattung_an_aus
        state: "on"
    time_control: time_control_disabled
    shading_forecast_type: weather_attributes
    shading_weather_conditions: []
    auto_global_condition:
      - condition: state
        entity_id: input_boolean.beschattung_an_aus
        state: "on"
    resident_config:
      - resident_allow_shading

Since I can’t upload files i put the JSON into a pastebin.

The trace refers to the trigger “t_shading_end_pending_5”.

You have the problem that the shading does not start, don’t you? Then I need the shading start traces for this.

Oh, I just realized that the configuration of your position values is not correct. As described in the blueprint, each position may only occur once. Ventilation is at 100% for you. And Open as well.

This could mess up your automation.

I will catch this in the next update.
I already thought of it yesterday.

Or I will remove the configuration check completely. I don’t think many users use it, do they?

On the one hand, you have already received an answer. But you need a trigger for that.

So you want two different temperature triggers? My problem is that I can’t fulfill every individual wish. Then the blueprint will burst at some point. And I also have to be able to provide the support for it.

That’s why I’ve added the additional conditions and the force actions. And if the customer user triggers in HA can be used in blueprints at some point, then almost anything is possible.

If necessary, you would just have to fork the blueprint.

There is currently no other way. Sorry.

This is currently not possible in CCA. But I am always very grateful for pull requests.

I’m try the same, also tried Additional Actions After Activating Sun Shading but doesen’t work

Hi, thanks for the answer.
My requirements are very simple. I just want the shading to start on a simple trigger like Sun Azimuth, sun elevation, Sun Lux and temperature.
For two Windows, which are doors, like “Terrasse” and “Küche”, I also need a lockout Protection, thats all.
What do I need to set to simply Achieve this? Maybe I have too much setup for my simple requirements.

I think I can provide shading start tomorrow.

ah ok, will try. Thank you!

Hi there. I’m completely lost. I have shades that I imported from KNX to HA, and I’m trying to move my automatic shading from KNX to HA. I’m quite novice, but in general not to bad with technical stuff.
This automation brought me to the brink of despair. The shades simply never do what I want. One day they darken in the morning, eventhough regarding azimuth they should not, after redoing everything and trying again they are not shading at all. Today, a day with 25°. Could anyone somehow help me?

Attached a few traces.

Hi, for some time im trying to get the blue print to work, but they don’t get the blinds to move… Maybe I’ve missed something.

I’ve got Aquara blind motors, and trying to get one moving at the moment.
One thing I cannot find if they have decent position entity. But still I can move them properly in HA.
I also have the position helper installed. And only looking for the shading function to work with my light sensor which does trigger the automation.

Can someone please help me?

This is the trace export,

All three traces have absolutely nothing to do with each other.
Can we perhaps tackle the problems individually and specifically?

Example:
What should happen in the morning? And what happens in reality?

  1. The temperature has triggered. Trigger: t_shading_start_pending_4. But the sun was not yet in the correct azimuth. So everything is fine.

  2. Trace 2 belongs to a manual position change. Trigger: t_manual_1. Either you controlled manually or it is a trace for an execution that took place shortly before by CCA. Then I need the trace before that.

  3. This trace belongs to the trigger t_shading_end_pending_5 and wants to end a shading. It was aborted because no shading position was recognized. So quite normal.