HomeAssistant_Blueprints_Update icon indicating copy to clipboard operation
HomeAssistant_Blueprints_Update copied to clipboard

Update blueprints_update.sh and add a blacklist check

Open Bhoft opened this issue 11 months ago • 1 comments

As i mentioned also in the issue https://github.com/koter84/HomeAssistant_Blueprints_Update/issues/7 I have a problem that some automation isn't available any more and the update always pulls the 404 page instead of an update. The automation file was renamed and updated but i still want to keep the old version of it.

Therefore i added an simple blacklist to be able to skip the check and update process for them.

E.g. I added this to my .conf file

_blueprints_update_blacklist=("./automation/panhans/heating_control.yaml")

the output will be then like

> ./automation/panhans/heating_control.yaml
-> blueprint found in blacklist skipping

multiple entries also possible

_blueprints_update_blacklist=("./automation/file1.yaml", "./automation/file2.yaml")

Maybe the blacklist check could be done with less code as I am not an bash expert.

Bhoft avatar Jan 16 '25 12:01 Bhoft

any news about this?

Bhoft avatar Feb 24 '25 10:02 Bhoft

i didn't notice your pull request, i merged it now and made it into version 1.0.2

koter84 avatar Nov 12 '25 17:11 koter84