mirror of
https://github.com/esphome/esphome.git
synced 2024-11-13 10:25:03 +01:00
17 lines
270 B
YAML
17 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
|