Back to Homebridge

Variable deviceTypesConst

docs/variables/deviceTypes.html

2.0.23.4 KB
Original Source
  • deviceTypes

Variable deviceTypesConst

deviceTypes: {
AirQualitySensor: AirQualitySensorDevice;
BridgedNode: BridgedNodeEndpoint;
ColorTemperatureLight: ColorTemperatureLightDevice;
ContactSensor: ContactSensorDevice;
DimmableLight: DimmableLightDevice;
DimmableOutlet: DimmablePlugInUnitDevice;
DoorLock: DoorLockDevice;
ExtendedColorLight: ExtendedColorLightDevice;
Fan: FanDevice;
GenericSwitch: GenericSwitchDevice;
HumiditySensor: HumiditySensorDevice;
LeakSensor: WaterLeakDetectorDevice;
LightSensor: LightSensorDevice;
MotionSensor: OccupancySensorDevice;
OnOffLight: OnOffLightDevice;
OnOffOutlet: OnOffPlugInUnitDevice;
OnOffSwitch: OnOffLightSwitchDevice;
Pump: PumpDevice;
RoboticVacuumCleaner: RoboticVacuumCleanerDevice;
RoomAirConditioner: RoomAirConditionerDevice;
SmokeSensor: SmokeCoAlarmDevice;
TemperatureSensor: TemperatureSensorDevice;
Thermostat: With<
For<{}>,
With<
{},
readonly [
Type<
typeof ThermostatServer,
WithSupportedFeatures<
Thermostat,
{
autoMode: true;
cooling: true;
heating: true;
localTemperatureNotExposed: false;
matterScheduleConfiguration: false;
occupancy: true;
presets: false;
scheduleConfiguration: false;
setback: false;
},
>,
Concrete,
typeof Internal,
"thermostat",
>,
],
>,
>;
WaterValve: With<
For<{}>,
With<{} & {}, readonly [typeof ValveConfigurationAndControlServer]>,
>;
WindowCovering: WindowCoveringDevice;
} = ...

Friendly device type names for the Plugin API Maps simplified names to actual Matter.js device types

Type Declaration

ReadonlyAirQualitySensor: AirQualitySensorDevice
ReadonlyBridgedNode: BridgedNodeEndpoint
ReadonlyColorTemperatureLight: ColorTemperatureLightDevice
ReadonlyContactSensor: ContactSensorDevice
ReadonlyDimmableLight: DimmableLightDevice
ReadonlyDimmableOutlet: DimmablePlugInUnitDevice
ReadonlyDoorLock: DoorLockDevice
ReadonlyExtendedColorLight: ExtendedColorLightDevice
ReadonlyFan: FanDevice
ReadonlyGenericSwitch: GenericSwitchDevice
ReadonlyHumiditySensor: HumiditySensorDevice
ReadonlyLeakSensor: WaterLeakDetectorDevice
ReadonlyLightSensor: LightSensorDevice
ReadonlyMotionSensor: OccupancySensorDevice
ReadonlyOnOffLight: OnOffLightDevice
ReadonlyOnOffOutlet: OnOffPlugInUnitDevice
ReadonlyOnOffSwitch: OnOffLightSwitchDevice
ReadonlyPump: PumpDevice
ReadonlyRoboticVacuumCleaner: RoboticVacuumCleanerDevice
ReadonlyRoomAirConditioner: RoomAirConditionerDevice
ReadonlySmokeSensor: SmokeCoAlarmDevice
ReadonlyTemperatureSensor: TemperatureSensorDevice
ReadonlyThermostat: With< For<{}>, With< {}, readonly [Type< typeof ThermostatServer, WithSupportedFeatures< Thermostat, { autoMode: true; cooling: true; heating: true; localTemperatureNotExposed: false; matterScheduleConfiguration: false; occupancy: true; presets: false; scheduleConfiguration: false; setback: false; }, >, Concrete, typeof Internal, "thermostat", >,], >, >
ReadonlyWaterValve: With< For<{}>, With<{} & {}, readonly [typeof ValveConfigurationAndControlServer]>, >
ReadonlyWindowCovering: WindowCoveringDevice

Settings

Member Visibility

  • Inherited

ThemeOSLightDark