LIS3DH Temperature Sensor
The lis3dh sensor platform provides access to the on-chip temperature sensor of a LIS3DH accelerometer
(datasheet) with ESPHome.
It requires a motion component to be configured with the lis3dh platform,
which handles the accelerometer data and configures the device. See that component for more information.
The LIS3DH temperature sensor is uncalibrated and reports only relative changes (roughly 1 °C per count).
Use sensor filters such as offset or calibrate_linear against a
reference thermometer if you need an absolute reading.
# Example configuration entrymotion: - platform: lis3dh
sensor: - platform: lis3dh type: temperature # Optional, temperature is the only supported type for this platform name: "LIS3DH Temperature"Configuration variables
Section titled “Configuration variables”- type (Optional, string): Must be set to
temperature, or simply omitted. - All other options from Sensor.