Smart Home
Using variables as configuration for Home Assistant automation
Home Assistant 0.115 got the ability to use variables in automation and scripts. You can declare variables even using templates and use them across the script or automation. Here is an example from the release notes: automation: trigger: platform: sun event: sunset offset: -00:30 variables: notification_service: notify.