asucrews / ha-blueprints

Blueprints for Home Assistant
Apache License 2.0
1 stars 1 forks source link

Blueprint will not import. #4

Closed thescottyshouse closed 6 months ago

thescottyshouse commented 6 months ago

Describe the bug The Blueprint Import fails with the following error. "Invalid blueprint: Missing input definition for auto_off"

To Reproduce Steps to reproduce the behavior:

  1. Go to 'Import Blueprint,
  2. Paste following link https://raw.githubusercontent.com/asucrews/ha-blueprints/main/automations/witb_plus/witb_plus.yaml Click Preview...'
  3. Click on 'Preview....'
  4. See error 'Invalid blueprint: Missing input definition for auto_off'

Expected behavior Expected to se a preview of the Blueprint code, and after verifying validity, click Imprt to import the Blueprint into HomeAssistant.

Desktop (please complete the following information):

Additional context I am not a coder so will need the clever folks to fix the blueprint import. :-) I manually created the Blueprint YAML, Copied the witb_plus.yaml file to the Blueprints/ and edited it, copying an existing Input section and renamed it to auto_off (content is probably horribly wrong) but the Blueprint can now load, and Automation can be created. (Doubt it will run correctly with my hack job)

edited section that I added. (Copied from bypass_finished_action:) auto_off: name: Auto Off (Optional) description: > Specify the action to be taken after the bypass auto-off timer finishes counting down. This determines whether the automation should turn off lights or other devices when the bypass timer expires.

Options:

asucrews commented 6 months ago

@thescottyshouse Thanks! this should be fix now. I need to create a dev yaml to better support future changes. Let me know if I missed something. I will close this as resolved in 24 hours.

thescottyshouse commented 6 months ago

My pleasure.

Brilliant blueprint. Thank you very much.

Regards Duane Scott.

On Thu, Apr 25, 2024, 19:12 Jeremy M Crews @.***> wrote:

@thescottyshouse https://github.com/thescottyshouse Thanks! this should be fix now. I need to create a dev yaml to better support future changes

— Reply to this email directly, view it on GitHub https://github.com/asucrews/ha-blueprints/issues/4#issuecomment-2077771797, or unsubscribe https://github.com/notifications/unsubscribe-auth/A6JGUBVQ24RAKGLMECGY46DY7E2OBAVCNFSM6AAAAABGYQPDK6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZXG43TCNZZG4 . You are receiving this because you were mentioned.Message ID: @.***>