mirror of
https://github.com/esphome/esphome.git
synced 2024-11-23 15:38:11 +01:00
Lint
This commit is contained in:
parent
9f022a7433
commit
872b468415
2 changed files with 7 additions and 7 deletions
|
@ -12,7 +12,7 @@ static const uint16_t SHTCX_COMMAND_READ_ID_REGISTER = 0xEFC8;
|
||||||
static const uint16_t SHTCX_COMMAND_SOFT_RESET = 0x805D;
|
static const uint16_t SHTCX_COMMAND_SOFT_RESET = 0x805D;
|
||||||
static const uint16_t SHTCX_COMMAND_POLLING_H = 0x7866;
|
static const uint16_t SHTCX_COMMAND_POLLING_H = 0x7866;
|
||||||
|
|
||||||
inline const char* to_string(SHTCXType type) {
|
inline const char *to_string(SHTCXType type) {
|
||||||
switch (type) {
|
switch (type) {
|
||||||
case SHTCX_TYPE_SHTC3:
|
case SHTCX_TYPE_SHTC3:
|
||||||
return "SHTC3";
|
return "SHTC3";
|
||||||
|
|
|
@ -544,12 +544,12 @@ sensor:
|
||||||
address: 0x58
|
address: 0x58
|
||||||
update_interval: 5s
|
update_interval: 5s
|
||||||
- platform: shtcx
|
- platform: shtcx
|
||||||
temperature:
|
temperature:
|
||||||
name: "Living Room Temperature 10"
|
name: "Living Room Temperature 10"
|
||||||
humidity:
|
humidity:
|
||||||
name: "Living Room Humidity 10"
|
name: "Living Room Humidity 10"
|
||||||
address: 0x70
|
address: 0x70
|
||||||
update_interval: 15s
|
update_interval: 15s
|
||||||
- platform: template
|
- platform: template
|
||||||
name: "Template Sensor"
|
name: "Template Sensor"
|
||||||
id: template_sensor
|
id: template_sensor
|
||||||
|
|
Loading…
Reference in a new issue