mirror of
https://github.com/esphome/esphome.git
synced 2025-09-01 19:02:18 +01:00
Add support for SHTCx Temperature sensors (#676)
* Add support for Sensirion STS3x Temperature sensors * Removed humidty reading from STS3x sensor * Fixed line error and operand error * Fixed syntax * Add test snippet for STS3x sensor * Clean up * Add support for Sensirion SHTC1 and SHTC3 Temperature sensors * Fixed the test * Fix lint issues * Update esphome/components/shtcx/shtcx.cpp Good point. Co-Authored-By: Otto Winter <otto@otto-winter.com> * Refactored device type identification and logging * Refactoring and cleanup * Remove sts3x Co-authored-by: Otto Winter <otto@otto-winter.com>
This commit is contained in:
@@ -540,6 +540,13 @@ sensor:
|
||||
accuracy_decimals: 1
|
||||
address: 0x58
|
||||
update_interval: 5s
|
||||
- platform: shtcx
|
||||
temperature:
|
||||
name: "Living Room Temperature 10"
|
||||
humidity:
|
||||
name: "Living Room Humidity 10"
|
||||
address: 0x70
|
||||
update_interval: 15s
|
||||
- platform: template
|
||||
name: "Template Sensor"
|
||||
id: template_sensor
|
||||
|
Reference in New Issue
Block a user