This component will set up the following platforms.
Platform | Description |
---|---|
sensor |
Show information from the sensors of your AirThings devices connected to an AirThings Hub . |
- Using the tool of choice open the directory (folder) for your HA configuration (where you find
configuration.yaml
). - If you do not have a
custom_components
directory (folder) there, you need to create it. - In the
custom_components
directory (folder) create a new folder calledairthings_integration
. - Download all the files from the
custom_components/airthings_integration/
directory (folder) in this repository. - Place the files you downloaded in the new directory (folder) you created.
- Restart Home Assistant
- In the HA UI go to "Configuration" -> "Integrations" click "+" and search for "airthings_integration"
Using your HA configuration directory (folder) as a starting point you should now also have this:
custom_components/airthings_integration/translations/en.json
custom_components/airthings_integration/translations/fr.json
custom_components/airthings_integration/translations/nb.json
custom_components/airthings_integration/__init__.py
custom_components/airthings_integration/api.py
custom_components/airthings_integration/config_flow.py
custom_components/airthings_integration/const.py
custom_components/airthings_integration/entity.py
custom_components/airthings_integration/manifest.json
custom_components/airthings_integration/sensor.py
If you want to contribute to this please read the Contribution guidelines
This project was generated from @oncleben31's Home Assistant Custom Component Cookiecutter template.
Code template was mainly taken from @Ludeeus's integration_blueprint template