#I am using this blueprint to run actions

1 messages · Page 1 of 1 (latest)

last loom
#

I need to see the action statement from the automation you made that calls the blueprint. Something is wrong in it.

graceful nymph
#

From the blueprint or the yaml that is generated from the blueprint?

last loom
#

I have the blueprint, I need to know your part

graceful nymph
#

Could the first execution be cancelled due to the fact that the null value is sent directly after and starts a new execution of the automation?

last loom
#

No. Once triggered this blueprint no longer looks at the trigger.

#

This blueprint is broken in other ways. It will spam your logs with errors because the author doesn't have a condition statement in there. If you read back in the posts I pointed this out and they ignored me.

#

That doesn't effect this, however.

#

On one of the triggers that was accepted, click the orange circles and see if you can tell what went wrong. Also look in your logs, that might tell you. I don't see it in the code.

graceful nymph
#

Does this tell you anything:

Executed: December 15, 2022 at 9:24:01 AM
Result:
params:
domain: light
service: turn_off
service_data: {}
target:
entity_id:
- light.diskbank
- light.skapet_2
running_script: false
limit: 10

last loom
#

That it worked ok

#

I have BP's that call complex action statements. that should be allowed here. It's something I'm not seeing...

      loop_action:
      - alias: "Start AirCon only if off to prevent rate limit outages"
        if: '{{ states(''climate.gemodule5384_window_ac'') == ''off''
          and states(''binary_sensor.ac_enabled'') == true }}'
        then:
          service: script.bedroom_ac_start
      - delay: 00:00:05
      - alias: "call bedroom ac set temperature & limit to prevent rate limit outages"
        if: '{{ is_number(state_attr(''climate.gemodule5384_window_ac'', ''temperature''))
          and state_attr(''climate.gemodule5384_window_ac'', ''temperature'') | float(73.1)
          != states(''input_number.bedroom_auto_temp'') | float(73.1)
          }}'
        then:
          service: script.bedroom_ac_set_temp
          data:
            Temp: '{{ states(''input_number.bedroom_auto_temp'') | float(73.1) }}'
#

I'll think on it. I need to get to bed, 5:30am here...

graceful nymph
last loom
#

On my way upstairs I thought of an easy fix. Use homeassistant.turn_off and put all the lights and switches in the same list. Look it up in the docs for proper sybtax. Then there is only 1 service.
nite nite...

#

(Now I'll sleep better...)