Add support for BMM150 geomagnetic sensor and BMI270 attitude sensor
Describe the problem you have/What new integration you would like
Please add support for BMM150 geomagnetic sensor and BMI270 attitude sensor. These sensors are included in M5stack Atom S3R board.
Please describe your use case for this integration and alternatives you've tried:
There are examples for the BMI270 for esphome as https://github.com/kkuphal/m5stick-esphome-magnetometer-water-meter/tree/main but they are specific to that case and not for a general use
Additional context
I found componants here:
BMM150
- https://github.com/brianhealey/M5CoreS3-Esphome/tree/main/components/m5cores3_bmm150
BMI270
- https://github.com/patrick3399/esphome_components/tree/main/components/bmi270
- https://github.com/erikcoin/esphome-lilygo-t547plus/tree/dev/components/bmi270
- https://github.com/brianhealey/M5CoreS3-Esphome/tree/main/components/m5cores3_bmi270
See also #3052
There the following sensor implementation is linked: https://github.com/DennisGaida/m5stack-atoms3r-components/tree/main/components/bmi270_bmm150
I tested it and it doesn't work with the M5Tab.