Skip to content

v10.5.0

Choose a tag to compare

@github-actions github-actions released this 27 Jul 19:37

This release is a minor one and doesn't bring any breaking change. It updates the package home-assistant-javascript-templates which has a new variable available in its latest version.

lang variable

This property returns the language that the logged user has configured in their profile. Any template using this variable will be re-evaluated every time that the user changes their language in the user profile settings.

For example, the next code will make the title to be translated if the selected language is English, Spanish or Dutch but if the language is not one of these three, then it will return the default title string.

js_variables:
  title:
    en: My Home
    es: Mi Casa
    nl: Mijn Huis
title: '[[[ return title[lang] ?? 'Home Assistant'; ]]]'

🚀 Features

  • Update home-assistant-javascript-templates package

🧩 Dependencies

  • Solve on-headers vulnerability
  • [Dependencies]: Bump the dependencies-dev group with 3 updates
  • [Dependencies]: Bump the dependencies-dev group with 5 updates
  • Update home-assistant-javascript-templates package

📝 Documentation

  • Add a statement to the important notes of the HACS installation method