[Automation] Climate mode change with duration ERROR

Please post your code using the community guidelines. It helps facilitate a solution.

# 11 explains the format