mirror of
https://github.com/esphome/esphome.git
synced 2025-09-02 03:12:20 +01:00
Add MCP9808 temperature sensor (#1169)
* Add MCP9808 temperature sensor * Change from component to sensor; code fixes - Change from component to sensor - Change magic numbers to constants * Fix incorrect logging levels * Add precision to debug log * Fix logging level Co-authored-by: Guillermo Ruffino <glm.net@gmail.com> * Fix bug with comparison to NAN Co-authored-by: Guillermo Ruffino <glm.net@gmail.com>
This commit is contained in:
@@ -757,6 +757,9 @@ sensor:
|
||||
aqi:
|
||||
name: "AQI"
|
||||
calculation_type: "CAQI"
|
||||
- platform: mcp9808
|
||||
name: "MCP9808 Temperature"
|
||||
update_interval: 15s
|
||||
|
||||
esp32_touch:
|
||||
setup_mode: False
|
||||
|
Reference in New Issue
Block a user