[bme68x_bsec2] add id: to allow extending (#12649)

This commit is contained in:
Samuel Sieb
2025-12-30 07:22:36 +00:00
committed by GitHub
parent 468bd7b04f
commit a615b28ecf
2 changed files with 2 additions and 0 deletions

View File

@@ -50,6 +50,7 @@ TYPES = [
CONFIG_SCHEMA = cv.Schema(
{
cv.GenerateID(): cv.declare_id(cg.Component),
cv.GenerateID(CONF_BME68X_BSEC2_ID): cv.use_id(BME68xBSEC2Component),
cv.Optional(CONF_TEMPERATURE): sensor.sensor_schema(
unit_of_measurement=UNIT_CELSIUS,

View File

@@ -9,6 +9,7 @@ bme68x_bsec2_i2c:
sensor:
- platform: bme68x_bsec2
id: bme_sensor
temperature:
name: BME68X Temperature
pressure: