Skip to content

Latest commit

 

History

History
30 lines (23 loc) · 1.03 KB

contributing.md

File metadata and controls

30 lines (23 loc) · 1.03 KB

Contributing

If you plan to contribute back to this repo, please fork & open a PR.

How to add translation

Only native speaker can translate to specific language.

  1. Copy custom_components/yasno_outages/translations/en.json file and name it with appropriate language code.
  2. Translate only keys in this file, not values.
  3. Open a PR.
  4. Find someone to check and approve your PR.

How to run locally

  1. Clone this repo to wherever you want:
    git clone https://github.com/denysdovhan/ha-yasno-outages.git
  2. Go into the repo folder:
    cd ha-yasno-outages
  3. Open the project with VSCode Dev Container
  4. Start a HA via Run Home Assistant on port 8123 task or run a following command:
    scripts/develop

Now you you have a working Home Assistant instance with this integration installed. You can test your changes by editing the files in custom_components/yasno_outages folder and restarting your Home Assistant instance.