meteocat
v4.0.0
Published
[](https://opensource.org/licenses/Apache-2.0) [](https://pypi.org/project/meteocat) [
After submitting your API Key you will either be prompted to pick a town from the list as shown below.

Once you pick the town you will be prompted to pick a station from the list. These are the nearest stations to the picked town.

Then you will be asked to set the API limits from your plan.

Then you will be asked to pick an area for the device.

If the device is added successfully it should appear as shown.

This device will then have the entities shown below. The sensors are translated to your system language (according to tranlation folder: en, es, ca). Or English by default.


Changing Units
To change units select one of the entities and open the more info dialog and click the cog in the top right. This will bring up the settings for the entity. Then select Unit of Measurement, and a dropdown will appear where you can select the units you want.

Options
Once the integration is installed, you can reconfigure some parameters without having to remove and reinstall Meteocat.
Go to:
Settings > Devices & Services > Meteocat > Configure
You will see three available options:
Update API Key and limits
Allows you to change the API Key and update all API plan limits at the same time.Update limits only
Allows you to adjust only the API plan limits, keeping the same API Key.Regenerate assets
If for any reason some files in theassetsfolder (towns.json,stations.json,variables.json,symbols.json, orstations_<town_id>.json) are missing or outdated, you can regenerate them directly from the options menu.ℹ️ If the Meteocat API is not available at that moment, the integration will still start, and you can retry regeneration later.
Update coordinates and elevation
Change the default station coordinates and elevation that were set during the first setup. So you can use your location coordinates and elevation for more accurate sun and moon data.
Accessing the Options Menu
You can access the Options Menu in two ways, both inside the integration:
Setup Options

System Options

Once you are inside, you will see the following options:

Uninstallation
To correctly uninstall the integration:
- If you are upgrading due to breaking changes, remove all configured entries from
Settings > Devices & Services > Integrations, restart Home Assistant, and reinstall the new version. - If you want to completely remove Meteocat, after removing the entries and restarting, also uninstall the integration from HACS > Integrations.
👉 For detailed steps with screenshots, check the Uninstallation Guide.
Custom Meteocat Card available
Meteocat integration has its own weather card.
To install the card, please follow the instructions from its own repository, 🎫 Meteocat Card.

Documentation
For more detailed information about:
- Installation and configuration
- Usage examples
- Extra attributes in sensors
- Known issues and troubleshooting
please visit the 📖 Meteocat Wiki.
Contributing
- Check for open features/bugs or initiate a discussion on one.
- Fork the repository.
- Install the dev environment:
make init. - Enter the virtual environment:
pipenv shell - Code your new feature or bug fix.
- Write a test that covers your new functionality.
- Update
README.mdwith any new documentation. - Run tests and ensure 100% code coverage for your contribution:
make coverage - Ensure you have no linting errors:
make lint - Ensure you have typed your code correctly:
make typing - Add yourself to
AUTHORS.md. - Submit a pull request!
License
Apache-2.0. By providing a contribution, you agree the contribution is licensed under Apache-2.0.
