mirror of
https://github.com/esphome/esphome.git
synced 2026-09-11 15:27:33 +00:00
[motion] Make motion test configs mergeable in CI (#17149)
This commit is contained in:
@@ -3,52 +3,64 @@ sensor:
|
||||
name: "BMI270 Temperature"
|
||||
|
||||
- platform: motion
|
||||
motion_id: bmi270_motion
|
||||
type: acceleration_x
|
||||
name: "Accel X"
|
||||
name: "BMI270 Accel X"
|
||||
accuracy_decimals: 4
|
||||
filters:
|
||||
- sliding_window_moving_average:
|
||||
window_size: 4
|
||||
send_every: 1
|
||||
- platform: motion
|
||||
motion_id: bmi270_motion
|
||||
type: acceleration_y
|
||||
name: "Accel Y"
|
||||
name: "BMI270 Accel Y"
|
||||
accuracy_decimals: 4
|
||||
- platform: motion
|
||||
motion_id: bmi270_motion
|
||||
type: acceleration_z
|
||||
name: "Accel Z"
|
||||
name: "BMI270 Accel Z"
|
||||
accuracy_decimals: 4
|
||||
|
||||
# Gyroscope axes (unit: °/s)
|
||||
- platform: motion
|
||||
motion_id: bmi270_motion
|
||||
type: gyroscope_x
|
||||
name: "Gyro X"
|
||||
name: "BMI270 Gyro X"
|
||||
- platform: motion
|
||||
motion_id: bmi270_motion
|
||||
type: gyroscope_y
|
||||
name: "Gyro Y"
|
||||
name: "BMI270 Gyro Y"
|
||||
- platform: motion
|
||||
motion_id: bmi270_motion
|
||||
type: gyroscope_z
|
||||
name: "Gyro Z"
|
||||
name: "BMI270 Gyro Z"
|
||||
|
||||
- platform: motion
|
||||
motion_id: bmi270_motion
|
||||
type: angular_rate_x
|
||||
name: "Angular Rate X"
|
||||
name: "BMI270 Angular Rate X"
|
||||
- platform: motion
|
||||
motion_id: bmi270_motion
|
||||
type: angular_rate_y
|
||||
name: "Angular Rate Y"
|
||||
name: "BMI270 Angular Rate Y"
|
||||
- platform: motion
|
||||
motion_id: bmi270_motion
|
||||
type: angular_rate_z
|
||||
name: "Angular Rate Z"
|
||||
name: "BMI270 Angular Rate Z"
|
||||
|
||||
- platform: motion
|
||||
motion_id: bmi270_motion
|
||||
type: pitch
|
||||
name: "Pitch"
|
||||
name: "BMI270 Pitch"
|
||||
- platform: motion
|
||||
motion_id: bmi270_motion
|
||||
type: roll
|
||||
name: "Roll"
|
||||
name: "BMI270 Roll"
|
||||
|
||||
motion:
|
||||
- platform: bmi270
|
||||
id: bmi270_motion
|
||||
# Accelerometer full-scale range: 2G | 4G | 8G | 16G
|
||||
accelerometer_range: 4G
|
||||
|
||||
|
||||
@@ -1,54 +1,66 @@
|
||||
sensor:
|
||||
- platform: lsm6ds
|
||||
name: "lsm6ds Temperature"
|
||||
name: "LSM6DS Temperature"
|
||||
|
||||
- platform: motion
|
||||
motion_id: lsm6ds_motion
|
||||
type: acceleration_x
|
||||
name: "Accel X"
|
||||
name: "LSM6DS Accel X"
|
||||
accuracy_decimals: 4
|
||||
filters:
|
||||
- sliding_window_moving_average:
|
||||
window_size: 4
|
||||
send_every: 1
|
||||
- platform: motion
|
||||
motion_id: lsm6ds_motion
|
||||
type: acceleration_y
|
||||
name: "Accel Y"
|
||||
name: "LSM6DS Accel Y"
|
||||
accuracy_decimals: 4
|
||||
- platform: motion
|
||||
motion_id: lsm6ds_motion
|
||||
type: acceleration_z
|
||||
name: "Accel Z"
|
||||
name: "LSM6DS Accel Z"
|
||||
accuracy_decimals: 4
|
||||
|
||||
# Gyroscope axes (unit: °/s)
|
||||
- platform: motion
|
||||
motion_id: lsm6ds_motion
|
||||
type: gyroscope_x
|
||||
name: "Gyro X"
|
||||
name: "LSM6DS Gyro X"
|
||||
- platform: motion
|
||||
motion_id: lsm6ds_motion
|
||||
type: gyroscope_y
|
||||
name: "Gyro Y"
|
||||
name: "LSM6DS Gyro Y"
|
||||
- platform: motion
|
||||
motion_id: lsm6ds_motion
|
||||
type: gyroscope_z
|
||||
name: "Gyro Z"
|
||||
name: "LSM6DS Gyro Z"
|
||||
|
||||
- platform: motion
|
||||
motion_id: lsm6ds_motion
|
||||
type: angular_rate_x
|
||||
name: "Angular Rate X"
|
||||
name: "LSM6DS Angular Rate X"
|
||||
- platform: motion
|
||||
motion_id: lsm6ds_motion
|
||||
type: angular_rate_y
|
||||
name: "Angular Rate Y"
|
||||
name: "LSM6DS Angular Rate Y"
|
||||
- platform: motion
|
||||
motion_id: lsm6ds_motion
|
||||
type: angular_rate_z
|
||||
name: "Angular Rate Z"
|
||||
name: "LSM6DS Angular Rate Z"
|
||||
|
||||
- platform: motion
|
||||
motion_id: lsm6ds_motion
|
||||
type: pitch
|
||||
name: "Pitch"
|
||||
name: "LSM6DS Pitch"
|
||||
- platform: motion
|
||||
motion_id: lsm6ds_motion
|
||||
type: roll
|
||||
name: "Roll"
|
||||
name: "LSM6DS Roll"
|
||||
|
||||
motion:
|
||||
- platform: lsm6ds
|
||||
id: lsm6ds_motion
|
||||
# Accelerometer full-scale range: 2G | 4G | 8G | 16G
|
||||
accelerometer_range: 4G
|
||||
|
||||
|
||||
Reference in New Issue
Block a user