Development and translation
Start Home Assistant demo
The original project can launch a Home Assistant demo via Docker:
sh
npm run start:hassHome Assistant can then be accessed locally under http://localhost:8123.
According to the original project, this command can be used under Windows as an alternative:
sh
npm run start:hass-cmdDevelopment server
Install dependencies and start development server:
sh
npm install
npm startThe server starts on port 4000.
Build
sh
npm run buildThe build creates mushroom.js in the dist folder.
Translations of the Mushroom interface
Mushroom uses Weblate for UI translations:
New language files must use Home Assistant compatible BCP-47 language codes, for example de, fr, fr-CA, or zh-Hans.
