this.knownCapabilities = [
'Switch',
'Light',
'LightBulb',
'Bulb',
'Color Control',
'Door',
'Window',
'Battery',
'Polling',
'Lock',
'Refresh',
'Lock Codes',
'Sensor',
'Actuator',
'Configuration',
'Switch Level',
'Temperature Measurement',
'Motion Sensor',
'Color Temperature',
'Illuminance Measurement',
'Contact Sensor',
'Acceleration Sensor',
'Door Control',
'Garage Door Control',
'Relative Humidity Measurement',
'Presence Sensor',
'Carbon Dioxide Measurement',
'Carbon Monoxide Detector',
'Water Sensor',
'Window Shade',
'Valve',
'Energy Meter',
'Power Meter',
'Thermostat',
'Thermostat Cooling Setpoint',
'Thermostat Mode',
'Thermostat Fan Mode',
'Thermostat Operating State',
'Thermostat Heating Setpoint',
'Thermostat Operating State',
'Thermostat Heating Setpoint',
'Thermostat Setpoint',
'Fan Speed',
'Fan Control',
'Fan Light',
'Fan',
'Speaker',
'Tamper Alert',
'Alarm',
'Alarm System Status',
'AlarmSystemStatus',
'Mode',
'Routine',
'Button'
];
That's what Homebridge knows about.
It's going to receive the values from the Homebridge app, which can only be values from Groovy code.