Skip to content

Voice Assistant Helpers 🎙️

Choose a tag to compare

@Nuhser Nuhser released this 17 Jan 18:38

For this release I added three new macros that I needed when setting up automations for the voice assistant. This macros focus on translating text that the assistant heard into usable data and vice versa.

✨ Added

  • parse_number:
    • This macro converts numbers written as word (like zweihundertachtundzwanzig) into the corresponding integers
    • It works with all numbers between 0 and 999.999.999.999
  • capitalize_first_word:
    • This macro capitalizes the first letter of the first word of a string
  • month_name:
    • This macro takes the number of a mount (starting with 1) and returns the month's name

For more information regarding the new as well as the old macros have a look at the README.