Added white light level to the output.
This commit is contained in:
parent
c903677ac5
commit
604198c352
17
src/main.cpp
17
src/main.cpp
|
@ -30,16 +30,17 @@ SoundData_t soundData = {0};
|
||||||
// Definition of the display attributes of data sent to Home Assistant.
|
// Definition of the display attributes of data sent to Home Assistant.
|
||||||
// The attribute fields are: {name, unit, icon, decimal places}
|
// The attribute fields are: {name, unit, icon, decimal places}
|
||||||
HA_Attributes_t pressure = {"Pressure", "hPa", "weather-cloudy", 1};
|
HA_Attributes_t pressure = {"Pressure", "hPa", "weather-cloudy", 1};
|
||||||
HA_Attributes_t humidity = {"Humidity","%","water-percent",1};
|
HA_Attributes_t humidity = {"Humidity", "%", "water-percent", 1};
|
||||||
HA_Attributes_t temperature = {"Temperature", CELSIUS_SYMBOL, "thermometer", 1};
|
HA_Attributes_t temperature = {"Temperature", CELSIUS_SYMBOL, "thermometer", 1};
|
||||||
HA_Attributes_t illuminance = {"Illuminance","lx","white-balance-sunny",2};
|
HA_Attributes_t illuminance = {"Illuminance", "lx", "white-balance-sunny", 2};
|
||||||
HA_Attributes_t soundLevel = {"Sound level","dBA","microphone",1};
|
HA_Attributes_t whiteLightLevel = {"White light level", " ", "white-balance-sunny", 0};
|
||||||
HA_Attributes_t peakAmplitude = {"Sound peak","mPa","waveform",2};
|
HA_Attributes_t soundLevel = {"Sound level", "dBA", "microphone", 1};
|
||||||
HA_Attributes_t estimatedCO2 = {"Estimated CO2","ppm","chart-bubble",1};
|
HA_Attributes_t peakAmplitude = {"Sound peak", "mPa", "waveform", 2};
|
||||||
HA_Attributes_t equivalentBreathVOC = {"Equivalent breath VOC","ppm","chart-bubble",2};
|
HA_Attributes_t estimatedCO2 = {"Estimated CO2", "ppm", "chart-bubble", 1};
|
||||||
|
HA_Attributes_t equivalentBreathVOC = {"Equivalent breath VOC", "ppm", "chart-bubble", 2};
|
||||||
HA_Attributes_t AQ_index = {"Air Quality Index", " ", "thought-bubble-outline", 1};
|
HA_Attributes_t AQ_index = {"Air Quality Index", " ", "thought-bubble-outline", 1};
|
||||||
HA_Attributes_t AQ_assessment = {"Air quality assessment","","flower-tulip",0};
|
HA_Attributes_t AQ_assessment = {"Air quality assessment", "", "flower-tulip", 0};
|
||||||
HA_Attributes_t AQ_calibration = {"Air quality calibration","","flower-tulip",0};
|
HA_Attributes_t AQ_calibration = {"Air quality calibration", "", "flower-tulip", 0};
|
||||||
HA_Attributes_t particleConcentration = {"Particle concentration", "ppL", "chart-bubble", 0};
|
HA_Attributes_t particleConcentration = {"Particle concentration", "ppL", "chart-bubble", 0};
|
||||||
HA_Attributes_t particleCalibration = {"Particle calibration", "", "chart-bubble", 0};
|
HA_Attributes_t particleCalibration = {"Particle calibration", "", "chart-bubble", 0};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue