mirror of
https://github.com/esphome/esphome.git
synced 2025-10-08 12:53:45 +01:00
[lm75b] Add LM75B temperature sensor component (#10534)
This commit is contained in:
9
tests/components/lm75b/common.yaml
Normal file
9
tests/components/lm75b/common.yaml
Normal file
@@ -0,0 +1,9 @@
|
||||
i2c:
|
||||
- id: i2c_lm75b
|
||||
scl: ${scl_pin}
|
||||
sda: ${sda_pin}
|
||||
|
||||
sensor:
|
||||
- platform: lm75b
|
||||
name: LM75B Temperature
|
||||
update_interval: 30s
|
5
tests/components/lm75b/test.esp32-ard.yaml
Normal file
5
tests/components/lm75b/test.esp32-ard.yaml
Normal file
@@ -0,0 +1,5 @@
|
||||
substitutions:
|
||||
scl_pin: GPIO15
|
||||
sda_pin: GPIO13
|
||||
|
||||
<<: !include common.yaml
|
5
tests/components/lm75b/test.esp32-c3-ard.yaml
Normal file
5
tests/components/lm75b/test.esp32-c3-ard.yaml
Normal file
@@ -0,0 +1,5 @@
|
||||
substitutions:
|
||||
scl_pin: GPIO5
|
||||
sda_pin: GPIO4
|
||||
|
||||
<<: !include common.yaml
|
5
tests/components/lm75b/test.esp32-c3-idf.yaml
Normal file
5
tests/components/lm75b/test.esp32-c3-idf.yaml
Normal file
@@ -0,0 +1,5 @@
|
||||
substitutions:
|
||||
scl_pin: GPIO5
|
||||
sda_pin: GPIO4
|
||||
|
||||
<<: !include common.yaml
|
5
tests/components/lm75b/test.esp32-idf.yaml
Normal file
5
tests/components/lm75b/test.esp32-idf.yaml
Normal file
@@ -0,0 +1,5 @@
|
||||
substitutions:
|
||||
scl_pin: GPIO15
|
||||
sda_pin: GPIO13
|
||||
|
||||
<<: !include common.yaml
|
5
tests/components/lm75b/test.esp8266-ard.yaml
Normal file
5
tests/components/lm75b/test.esp8266-ard.yaml
Normal file
@@ -0,0 +1,5 @@
|
||||
substitutions:
|
||||
scl_pin: GPIO5
|
||||
sda_pin: GPIO4
|
||||
|
||||
<<: !include common.yaml
|
5
tests/components/lm75b/test.rp2040-ard.yaml
Normal file
5
tests/components/lm75b/test.rp2040-ard.yaml
Normal file
@@ -0,0 +1,5 @@
|
||||
substitutions:
|
||||
scl_pin: GPIO5
|
||||
sda_pin: GPIO4
|
||||
|
||||
<<: !include common.yaml
|
Reference in New Issue
Block a user