mirror of
https://github.com/esphome/esphome.git
synced 2025-03-16 15:48:16 +00:00
Add CODEOWNER
This commit is contained in:
parent
a08970659c
commit
aff853e411
@ -321,6 +321,7 @@ esphome/components/pcf8563/* @KoenBreeman
|
|||||||
esphome/components/pid/* @OttoWinter
|
esphome/components/pid/* @OttoWinter
|
||||||
esphome/components/pipsolar/* @andreashergert1984
|
esphome/components/pipsolar/* @andreashergert1984
|
||||||
esphome/components/pm1006/* @habbie
|
esphome/components/pm1006/* @habbie
|
||||||
|
esphome/components/pm2005/* @andrewjswan
|
||||||
esphome/components/pmsa003i/* @sjtrny
|
esphome/components/pmsa003i/* @sjtrny
|
||||||
esphome/components/pmwcs3/* @SeByDocKy
|
esphome/components/pmwcs3/* @SeByDocKy
|
||||||
esphome/components/pn532/* @OttoWinter @jesserockz
|
esphome/components/pn532/* @OttoWinter @jesserockz
|
||||||
|
@ -21,7 +21,9 @@ DEPENDENCIES = ["i2c"]
|
|||||||
CODEOWNERS = ["@andrewjswan"]
|
CODEOWNERS = ["@andrewjswan"]
|
||||||
|
|
||||||
pm2005_ns = cg.esphome_ns.namespace("pm2005")
|
pm2005_ns = cg.esphome_ns.namespace("pm2005")
|
||||||
PM2005Component = pm2005_ns.class_("PM2005Component", cg.PollingComponent, i2c.I2CDevice)
|
PM2005Component = pm2005_ns.class_(
|
||||||
|
"PM2005Component", cg.PollingComponent, i2c.I2CDevice
|
||||||
|
)
|
||||||
|
|
||||||
TYPE_2005 = "PM2005"
|
TYPE_2005 = "PM2005"
|
||||||
TYPE_2105 = "PM2105"
|
TYPE_2105 = "PM2105"
|
||||||
@ -35,7 +37,9 @@ CONFIG_SCHEMA = cv.All(
|
|||||||
cv.Schema(
|
cv.Schema(
|
||||||
{
|
{
|
||||||
cv.GenerateID(): cv.declare_id(PM2005Component),
|
cv.GenerateID(): cv.declare_id(PM2005Component),
|
||||||
cv.Optional(CONF_TYPE, default=TYPE_2005): cv.one_of(*SENSOR_TYPE, upper=True),
|
cv.Optional(CONF_TYPE, default=TYPE_2005): cv.one_of(
|
||||||
|
*SENSOR_TYPE, upper=True
|
||||||
|
),
|
||||||
cv.Optional(CONF_PM_1_0): sensor.sensor_schema(
|
cv.Optional(CONF_PM_1_0): sensor.sensor_schema(
|
||||||
unit_of_measurement=UNIT_MICROGRAMS_PER_CUBIC_METER,
|
unit_of_measurement=UNIT_MICROGRAMS_PER_CUBIC_METER,
|
||||||
icon=ICON_CHEMICAL_WEAPON,
|
icon=ICON_CHEMICAL_WEAPON,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user