Added NOXSensor and PM10Sensor for use (#384)

This commit is contained in:
Nick Berardi
2022-09-22 20:58:18 -04:00
committed by GitHub
parent 4ee4b757c8
commit b08d945dfc
8 changed files with 110 additions and 2 deletions

View File

@@ -106,12 +106,14 @@ class ScryptedInterface(Enum):
MixinProvider = "MixinProvider"
MotionSensor = "MotionSensor"
Notifier = "Notifier"
NOXSensor = "NOXSensor"
OauthClient = "OauthClient"
ObjectDetection = "ObjectDetection"
ObjectDetector = "ObjectDetector"
OccupancySensor = "OccupancySensor"
OnOff = "OnOff"
Online = "Online"
PM10Sensor = "PM10Sensor"
PM25Sensor = "PM25Sensor"
PanTiltZoom = "PanTiltZoom"
PasswordStore = "PasswordStore"
@@ -804,6 +806,10 @@ class Notifier:
pass
pass
class NOXSensor:
noxDensity: float
pass
class OauthClient:
async def getOauthUrl(self) -> str:
pass
@@ -841,6 +847,10 @@ class Online:
online: bool
pass
class PM10Sensor:
pm10Density: float
pass
class PM25Sensor:
pm25Density: float
pass
@@ -2090,6 +2100,13 @@ ScryptedInterfaceDescriptors = {
"securitySystemState"
]
},
"PM10Sensor": {
"name": "PM10Sensor",
"methods": [],
"properties": [
"pm10Density"
]
},
"PM25Sensor": {
"name": "PM25Sensor",
"methods": [],
@@ -2104,6 +2121,13 @@ ScryptedInterfaceDescriptors = {
"vocDensity"
]
},
"NOXSensor": {
"name": "NOXSensor",
"methods": [],
"properties": [
"noxDensity"
]
},
"CO2Sensor": {
"name": "CO2Sensor",
"methods": [],