Recently started having issues where automations work work properly for various reasons

Please follow Community Questions Guideline #11 & 14 by posting the automation’s YAML configuration.