BREAKING CHANGE: Home Assistant 0.115 - this component is now configure through UI ONLY - this video is obsolete.
BREAKING CHANGE: Home Assistant 0.105
Integration of OpenUV has changed and configuration below has been adapted to reflect changes.
-----
In this video we will configure OpenUV sensors.
https://www.home-assistant.io/integra...
With the help of this integration you will be able to track current and maximum expected UV levels for your region.
00:36 - For this integration, we need FREE OpenUV API key, so let's open following web page:
https://www.openuv.io/
After registration with yor Google account, web page with API will open..
01:42 - Open your configuration.yaml file and add following lines:
OpenUV
openuv:
api_key: !secret openuv_api
As of 0.105 this is ALL that is needed. Rest can be commented out or deleted
binary_sensors: # add this section if you want to get binary sensor
monitored_conditions:
- uv_protection_window
sensors: # add this section if you want other sensors
monitored_conditions:
- current_ozone_level
- current_uv_index
- current_uv_level
- max_uv_index
- safe_exposure_time_type_1
- safe_exposure_time_type_2
- safe_exposure_time_type_3
- safe_exposure_time_type_4
- safe_exposure_time_type_5
- safe_exposure_time_type_6
Consult integrations page and https://en.wikipedia.org/wiki/Fitzpat... for more information about skin types.
Check your configuration and restart Home Assistant.
07:30 - after restart you can add all of the sensors you defined previously.
09:42 - in order to update data for this sensor, you need to create automation.
You can add following to your automations.yaml:
- alias: Update OpenUV
trigger:
platform: time_pattern
minutes: '/30'
condition:
condition: and
conditions:
- condition: sun
after: sunrise
- condition: sun
before: sunset
action:
service: openuv.update_data
Verify your configuration and reload automations to activate changes.
And this is it!
Please leave a comment if you would like to see more component configuration videos.
Of course, subscribe if you still haven't and I'll see you next time!
Have fun!
BeardedTinker
Twitter: @BeardedTinker
Discord: / discord
#HomeAssistant #OpenUV