Wetterstation v2
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
539 B

# VEML6075 UV sensor
sensor:
- platform: custom
lambda: |-
auto veml6075 = new VEML6075CustomSensor();
App.register_component(veml6075);
return {veml6075->uva_sensor, veml6075->uvb_sensor, veml6075->uvi_sensor};
sensors:
- name: "${node_name} UVA"
id: uva
unit_of_measurement: "mW/cm²"
accuracy_decimals: 0
- name: "${node_name} UVB"
id: uvb
unit_of_measurement: "mW/cm²"
accuracy_decimals: 0
- name: "${node_name} UVI"
id: uvi
accuracy_decimals: 0