Added "monitored_conditions" (#7494)

Added `monitored_conditions` to configure additional functionality beneath `binary_sensor` and `sensor` key within the `openuv` section of the `configuration.yaml` file. Without it, you'll end up with a "expected a dictionary for dictionary value @ data..."-error
This commit is contained in:
hulkhaugen 2018-11-14 10:52:55 +01:00 committed by Fabian Affolter
parent 861e1d6014
commit e9a2e155e5

View File

@ -98,18 +98,20 @@ To configure additional functionality, add configuration options beneath a `bina
openuv: openuv:
api_key: YOUR_OPENUV_API_KEY api_key: YOUR_OPENUV_API_KEY
binary_sensors: binary_sensors:
- uv_protection_window monitored_conditions:
- uv_protection_window
sensors: sensors:
- current_ozone_level monitored_conditions:
- current_uv_index - current_ozone_level
- current_uv_level - current_uv_index
- max_uv_index - current_uv_level
- safe_exposure_time_type_1 - max_uv_index
- safe_exposure_time_type_2 - safe_exposure_time_type_1
- safe_exposure_time_type_3 - safe_exposure_time_type_2
- safe_exposure_time_type_4 - safe_exposure_time_type_3
- safe_exposure_time_type_5 - safe_exposure_time_type_4
- safe_exposure_time_type_6 - safe_exposure_time_type_5
- safe_exposure_time_type_6
``` ```
<p class='note warning'> <p class='note warning'>