Skip to main content
Glama
literals.py1.46 kB
from typing import Literal Capability = Literal['button', 'motionSensor', 'dustSensor', 'carbonDioxideMeasurement', 'illuminanceMeasurement', 'relativeHumidityMeasurement', 'temperatureMeasurement', 'atmosphericPressureMeasurement', 'switch', 'signalStrength', 'powerMeter', 'presenceSensor', 'switchLevel', 'contactSensor', 'voltageMeasurement', 'windowShade', 'windowShadeLevel', 'battery', 'lock'] CapabilitiesMode = Literal['and', 'or'] Attribute = Literal[ 'motion', 'battery', 'illuminance', 'temperature', 'tamper', 'atmosphericPressure', 'humidity', 'contact', 'power', 'energy', 'level', 'voltage', 'rssi', 'lqi', 'shadeLevel', 'volume', 'water', 'presence', 'lock', 'dustLevel', 'fineDustLevel', 'carbonDioxide', 'switch', 'atmosPressure', 'button', 'presenceStatus', 'windowShade'] ConnectionType = Literal['LAN', 'ZIGBEE', 'ZWAVE', 'EDGE_CHILD', 'MOBILE', 'MATTER', 'HUB', 'BLE_D2D'] ComponentCategory = Literal[ 'Light', 'AirConditioner', 'AirQualityDetector', 'Battery', 'Blind', 'BluetoothTracker', 'ContactSensor', 'Dishwasher', 'Hub', 'LeakSensor', 'MobilePresence', 'MotionSensor', 'MultiFunctionalSensor', 'Others', 'PresenceSensor', 'RemoteController', 'SmartLock', 'SmokeDetector', 'Switch', 'Television', 'Thermostat'] ExecutionContext = Literal['CLOUD', 'LOCAL'] Granularity = Literal["realtime", "5min", "hourly", "daily"] Aggregate = Literal["raw", "sum", "avg", "min", "max"]

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/veonua/smartthings-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server