mirror of
https://github.com/koush/scrypted.git
synced 2026-03-01 00:42:28 +00:00
Added NOXSensor and PM10Sensor for use (#384)
This commit is contained in:
@@ -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": [],
|
||||
|
||||
Reference in New Issue
Block a user