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