I want to configure a slider in lovelace to set the temperature that then influences an automation, is this possible?
For example if I set the temperature to 25 degrees, whenever the temperature exceeds that, a cooling system will turn on. I already have the cooling automation working, I just want a simpler way to configure the temperature value other than having to manually change values in the config.
Also the value for your input number was not correctly accessed in the template and I changed the template format to the preferred version that does not error if the state is unavailable. See the warning in yellow here: https://www.home-assistant.io/docs/configuration/templating/#states