UNMAINTAINED: This project is unmaintained and may stop working with future versions of Home Assistant.
This is a simple custom component for Home Assistant that fetches the UV values from the ARPANSA site.
HACS method coming. For now, manually install by copying the files in a new custom_components/arpansa_uv
directory.
After you have installed the custom component (see above):
- Go to the
Configuration
->Integrations
page. - On the bottom right of the page, click on the
+ Add Integration
sign to add an integration - Search for ARPANSA UV (If you don't see it, try refreshing your browser page to reload the cache.)
- Add a name for the integration (just for identification purposes on the integration page) and the stations you want to monitor
- Click Submit to add the integration
The component will create sensors for each station with <name>_uv_index
. Recommended using the statistics graph lovelace card.
Please set your logging for the custom_component to debug:
logger:
default: warn
logs:
custom_components.arpansa_uv: debug