Home Assistant is packed with helpers; there are so many different types that it's easy to miss some of the most useful ones. It's often the case that the right helper can make setting up automations far easier.