Capabilities
Remote
Domain remote: states, services, device classes and features.
Entity ids in this domain look like remote.<object_id>.
Use in preferences
{ key: 'device', label: 'Device', type: 'entity', domainFilter: 'remote', required: true }States
getState() returns the raw token. subscribe filters, entity.is() and matchesState() also accept the friendly label the app shows (any case; spaces, hyphens and underscores interchangeable).
onoff
subscribe($g.device, { to: 'on' }, onChange);
if ($g.device.is('on')) { /* … */ }Services
Also routable (RemoteServices), not in the wizard catalog — callable as entity.<service>(); the integration may reject unsupported ones at runtime:
deleteCommand, learnCommand, sendCommand, sendCommandSequence, startActivity, stopActivity, toggle, transmitIr, turnOff, turnOn
Features
Bitmask on the supportedFeatures attribute; read the values with getEntityFeatures().Remote.
| Feature | Bit |
|---|---|
LEARN_COMMAND | 1 |
DELETE_COMMAND | 2 |
ACTIVITY | 4 |