Skip to main content

Currency Convertor

Open your Home Assistant instance and show the blueprint import dialog with a specific blueprint pre-filled.

Prequisites

Pyscript

You must have Pyscript installed See installation video

Download these from the currency convertor GH page

  • viewassist-currencyconvertor.py
  • viewassist-response_handler.py
  • viewassist_currencyconvertor_digits.yaml

and place this files in your pyscripts directory on your Home Assistant server.
The pyscript variables hass_all_imports and hass_is_global need to be set to true. This can be done in the UI or via an entry

pyscript:
allow_all_imports: true
hass_is_global: true

in configuration.yaml.

Intent Script

If not exist create a directory intent_script in your 'config' directory on your Home Assistant server.
Download

  • viewassist_currenyconvertor.intent.yaml

and place it in this 'intent_script' directory.
The 'intent_script' directory must be accessed via the entry

intent_script: !include_dir_merge_named intent_script/

in configuration.yaml.

Custom Sentences

If not exist create a directory custom_sentences in your 'config' directory on your Home Assistant server.
If not exist create your preferred language directory (esp. 'en') in this 'custom_sentences' directory.
Download the

  • viewassist_currencyconvertor_intent.yaml
  • viewassist_currencyconvertor_response.yaml
  • viewassist_currencyconvertor_currencies.yaml

files from your preferred language directory (esp. 'en') and place this files in the corresponding language directory on your Home Assistant server.

Rapid API Key

You must get an API key from rapidapi.com for the required API (totally free no credit card needed)
You must add your API key to the 'rapidapikey' field in the blueprint.

Changelog

VersionDescription
v 1.0.0Initial release