mirror of
https://github.com/esphome/esphome.git
synced 2024-12-21 04:54:55 +01:00
16 lines
270 B
YAML
16 lines
270 B
YAML
i2c:
|
|
- id: i2c_mmc5983
|
|
scl: 5
|
|
sda: 4
|
|
|
|
sensor:
|
|
- platform: mmc5983
|
|
field_strength_x:
|
|
name: "Magnet X"
|
|
id: magnet_x
|
|
field_strength_y:
|
|
name: "Magnet Y"
|
|
id: magnet_y
|
|
field_strength_z:
|
|
name: "Magnet Z"
|
|
id: magnet_z
|