Skip to content

Commit d8daab8

Browse files
committed
Minor README corrections
1 parent 57a72ca commit d8daab8

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ number:
347347
```
348348
### Configuration Variables
349349
+ **model** (**Optional**, string): The model of the Sensirion SEN5X or SEN6X sensor. Options are ```SEN50```, ```SEN54```, ```SEN55```, ```SEN60```, ```SEN63C```, ```SEN65```, ```SEN66``` or ```SEN68```. Use this if the model cannot be read from the sensor. There were reports of a blank model string on a SEN66 sensor.
350-
+ **auto_cleaning_interval ** (**Optional**, string): The interval in seconds of the periodic fan-cleaning. Only the SEN50, SEN55 and SEN56 models support automatic fan cleaning.
350+
+ **auto_cleaning_interval** (**Optional**, string): The interval in seconds of the periodic fan-cleaning. Only the SEN50, SEN55 and SEN56 models support automatic fan cleaning.
351351

352352
### Sensors
353353
+ **co2** (*Optional*): The Carbon Dioxide (CO2) level in ppm. Only the SEN63C and SEN66 models have a CO2 sensor. All Options from [Number](https://esphome.io/components/sensor/#config-number).
@@ -380,16 +380,16 @@ sensor:
380380
- platform: pressure_sensor
381381
on_value:
382382
then:
383-
- lambda: !lambda "id(my_sen66)->set_ambient_pressure_compensation(x / 100.0); // Convert Pa to hPa"
383+
- lambda: !lambda |-
384+
// convert pressure to hPa before sending to sen5x sensor
385+
id(my_sen66)->set_ambient_pressure_compensation(x / 100.0);"
384386
```
385387

386388
#### sen5x.activate_heater Action
387389
This action turns the humidity sensor's heater on for 1s at 200mW. This action only works for the SEN63C, SEN65, SEN66 and SEN68 models.
388390

389391
```
390-
sensor:
391-
- platform: pressure_sensor
392-
on_value:
393-
then:
394-
- lambda: !lambda "id(my_sen66)->set_ambient_pressure_compensation(x / 100.0); // Convert Pa to hPa"
392+
on_value:
393+
then:
394+
- lambda: !lambda "id(my_sen66)->activate_heater();"
395395
```

0 commit comments

Comments
 (0)