Add missing "activate venv" instructions (#3026)

Co-authored-by: Jonny Bergdahl <bergdahl@users.noreply.github.com>
This commit is contained in:
Jonny Bergdahl 2023-06-27 21:32:08 +02:00 committed by GitHub
parent fb5ea612b3
commit d44b4e11fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -340,6 +340,14 @@ This is only possible for ``pip`` installs.
git checkout -b my-new-feature
cd ..
The environment is now ready for use, but you need to activate the Python virtual environment
every time you are using it.
.. code-block:: bash
# Activate venv
source venv/bin/activate
Now you can open ESPHome in your IDE of choice (mine is CLion) with the PlatformIO
addons (see PlatformIO docs for more info). Then develop the new feature with the
guidelines below.