getResourceName static method
- String name
Get the ResourceName for this MovementSensor with the given name
final myMovementSensorResourceName = myMovementSensor.getResourceName("my_movement_sensor");
For more information, see Movement Sensor component.
Implementation
static ResourceName getResourceName(String name) {
return MovementSensor.subtype.getResourceName(name);
}