Fix filename for lps22 image - should be avif, not jpg (#5088)

This commit is contained in:
Clyde Stubbs 2025-07-12 12:59:23 +10:00 committed by Jesse Hills
parent 1e1d9f0045
commit 3357fd6ad1
No known key found for this signature in database
GPG Key ID: BEAAE804EFD8E83A
7 changed files with 5 additions and 4 deletions

1
.gitattributes vendored
View File

@ -6,3 +6,4 @@
*.zip binary
*.mp3 binary
*.gif binary
*.avif binary

View File

@ -14,7 +14,7 @@ ESPHome 2025.7.0 - 16th July 2025
ESP32 Hosted, components/esp32_hosted, network-wifi.svg, dark-invert
GL-R01, components/sensor/gl_r01, gl_r01.jpg
LN882x, components/libretiny, ln882x.svg
LPS22, components/sensor/lps22, lps22.jpg
LPS22, components/sensor/lps22, lps22.avif
OPT3001, components/sensor/opt3001, opt3001.jpg
PI4IOE5V6408, components/pi4ioe5v6408, pca9554a.jpg
SX126x, components/sx126x, sx126x.png

View File

@ -400,7 +400,7 @@ Environmental
HYT271, components/sensor/hyt271, hyt271.jpg, Temperature & Humidity
Inkbird IBS-TH1 Mini, components/sensor/inkbird_ibsth1_mini, inkbird_isbth1_mini.jpg, Temperature & Humidity
Internal Temperature, components/sensor/internal_temperature, thermometer.svg, Temperature, dark-invert
LPS22, components/sensor/lps22, lps22.jpg, Temperature & Barometric Pressure
LPS22, components/sensor/lps22, lps22.avif, Temperature & Barometric Pressure
MCP9808, components/sensor/mcp9808, mcp9808.jpg, Temperature
MH-Z19, components/sensor/mhz19, mhz19.jpg, CO2 & Temperature
MLX90614, components/sensor/mlx90614, mlx90614.jpg, Temperature

View File

@ -9,7 +9,7 @@ The ``lps22`` sensor platform allows you to use your LPS22HB or LPS22HH pressur
The :ref:`I²C Bus <i2c>` is required to be set up in your configuration for this sensor to work.
.. figure:: images/lps22.jpg
.. figure:: images/lps22.avif
:align: center
.. code-block:: yaml

View File

@ -132,7 +132,7 @@ file_types = (
"",
)
docs_types = [".rst"]
image_types = [".jpg", ".ico", ".png", ".svg", ".gif"]
image_types = [".avif", ".jpg", ".ico", ".png", ".svg", ".gif"]
LINT_FILE_CHECKS = []
LINT_CONTENT_CHECKS = []