External Rhasspy on RPi + Homeassistant - How to I get the HA entities?

Hi,

I managed to install Rhasspy as a Service on a seperate RPi, Im connected to Homeassistant via MQTT.
I mainly followed this Tutorial Rhasspy, IoBroker auf RaspberryPi mit ReSpeaker installieren | Layer8-IT

There are some threads discussing the same issue like this one Home Assistant & slot_programs/hass/entities: entities download issues - #8 by nightingale

I have the script to fetch all the entity names from HA here https://github.com/rhasspy/rhasspy/blob/master/examples/homeassistant/profile/slot_programs/hass/entities but how and where do I install it?

Cheers
F